/** * * Constructor * */ public function __construct() { parent::__construct('post_type', __('Post Types', 'yit'), true); // $this->post_type_object = get_post_type_object( $this->id ); $this->static_pages = array('front-page' => __('Front Page', 'yit'), '404-page' => __('404 Page', 'yit'), 'search-page' => __('Search Page', 'yit')); add_action('wp_ajax_yit-quick-search-' . $this->id, array($this, 'search_suggest')); }
/** * * Constructor * */ public function __construct() { parent::__construct('author', __('Author', 'yit'), true); add_action('wp_ajax_yit-quick-search-' . $this->id, array($this, 'search_suggest')); }
/** * * Constructor * */ public function __construct() { parent::__construct('static', __('Static', 'yit'), true); }
/** * * Constructor * */ public function __construct() { parent::__construct('site', __('Site', 'yit'), true); }