public static function register() { global $pagenow; $register_post_data = array('labels' => array('name' => __('APNs', WP_APN_PLUGIN), 'singular_name' => __('APN', WP_APN_PLUGIN), 'add_new_item' => __('Add APN', WP_APN_PLUGIN), 'add_new' => __('Add APN', WP_APN_PLUGIN), 'edit' => __('Edit', WP_APN_PLUGIN), 'edit_item' => __('Edit APN', WP_APN_PLUGIN), 'new_item' => __('New APN', WP_APN_PLUGIN), 'view' => __('View', WP_APN_PLUGIN), 'view_item' => __('View APN', WP_APN_PLUGIN), 'search_items' => __('Search APNs', WP_APN_PLUGIN), 'not_found' => __('No APNs found', WP_APN_PLUGIN)), 'description' => __('For APNs', WP_APN_PLUGIN), 'public' => false, 'show_ui' => (bool) WPAPN_AdminController::getSetting('show_post_type'), '_builtin' => false, 'capability_type' => 'post', 'capabilities' => array('create_posts' => false), 'menu_icon' => plugins_url('assets/img/notification.png', WP_APN_FILE), 'hierarchical' => false, 'map_meta_cap' => true, 'supports' => array('title')); register_post_type(self::$type, $register_post_data); }
?> <a href="#!" class="js-tip tip" title="<?php _e('ABSPATH will be used as prefix for the specified path', WP_APN_PLUGIN); ?> "><span class="fa fa-question-circle"></span></a> </label> <input type="text" class="js-wp-apn-production-certificate-path" name="<?php echo WP_APN_PLUGIN; ?> [PermissionFile]" value="<?php echo WPAPN_AdminController::getSetting('PermissionFile'); ?> " /> <button class="button js-wp-apn-production-certificate-upload"> <?php _e('Upload Certificate', WP_APN_PLUGIN); ?> </button> </p> </div> <!--<p> <blockquote> <?php