Example #1
0
 /**
  * Constructor
  *
  * @since 0.3
  */
 public function __construct()
 {
     // Construct
     parent::__construct();
     // Menu item settings
     $this->id = 'bulkpress-posts';
     $this->parent_id = 'bulkpress';
     $this->page_title = __('BulkPress: Posts', 'bulkpress');
     $this->menu_title = __('Posts');
     $this->capability = 'manage_options';
 }
Example #2
0
 /**
  * Constructor
  *
  * @since 0.4
  */
 public function __construct()
 {
     // Construct
     parent::__construct();
     // Menu item settings
     $this->id = 'bulkpress-users';
     $this->parent_id = 'bulkpress';
     $this->page_title = __('BulkPress: Users', 'bulkpress');
     $this->menu_title = __('Users');
     $this->capability = 'create_users';
 }
Example #3
0
 /**
  * Constructor
  *
  * @since 0.3
  */
 public function __construct()
 {
     // Construct
     parent::__construct();
     // Menu item settings
     $this->id = 'bulkpress';
     $this->page_title = __('BulkPress', 'bulkpress');
     $this->menu_title = __('BulkPress', 'bulkpress');
     $this->capability = 'manage_options';
     // Actions
     add_action('admin_enqueue_scripts', array(&$this, 'scripts'));
 }