/**
	 * Constructor
	 */
	public function __construct()
	{
		$this->id = 'terms-reorganize';
		$this->title = __('Reorganize Terms', 'bulkpress');
		
		// Construct
		parent::__construct();
	}
示例#2
0
	/**
	 * Constructor
	 */
	public function __construct()
	{
		$this->id = 'terms-add';
		$this->title = __('Add Terms', 'bulkpress');
		
		// Construct
		parent::__construct();
	}
示例#3
0
 /**
  * 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'));
 }
示例#4
0
	/**
	 * 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;
	}