/** * Constructor */ public function __construct() { $this->id = 'terms-reorganize'; $this->title = __('Reorganize Terms', 'bulkpress'); // Construct parent::__construct(); }
/** * Constructor */ public function __construct() { $this->id = 'terms-add'; $this->title = __('Add Terms', 'bulkpress'); // Construct parent::__construct(); }
/** * Constructor * * @since 0.3 */ public function __construct() { // Construct parent::__construct(); // Tab information $this->id = 'posts-add'; $this->title = __('Add Posts', 'bulkpress'); // Actions add_action('admin_enqueue_scripts', array(&$this, 'scripts')); }
/** * Add a tab to this menu page * * @param JWBP_AdminMenuPageTab_Abstract $tab Tab object */ public function add_tab(JWBP_AdminMenuPageTab_Abstract $tab) { if (!$tab->get_id() || !$tab->get_title()) { return; } $this->tabs[$tab->get_id()] = $tab; }