/** * Constructor */ public function __construct() { parent::__construct('taxonomies', __('Taxonomies', ContentAwareSidebars::DOMAIN), true); $this->type_display = true; $this->searchable = true; add_action('created_term', array(&$this, 'term_ancestry_check'), 10, 3); }
/** * Constructor */ public function __construct() { parent::__construct('post_types', __('Post Types', ContentAwareSidebars::DOMAIN), true); $this->type_display = true; $this->searchable = true; add_action('transition_post_status', array(&$this, 'post_ancestry_check'), 10, 3); }
public function __construct($categories = null, $listings = null, $walker = null, $request = null) { parent::__construct(AWPCP_CAS_LISTINGS_CATEGORIES_MODULE, __('Categories (AWPCP)', 'AWPCP')); if (is_null($categories)) { $this->categories = awpcp_categories_collection(); } else { $this->categories = $categories; } if (is_null($listings)) { $this->listings = awpcp_listings_collection(); } else { $this->listings = $listings; } if (is_null($walker)) { $this->walker = awpcp_content_aware_sidebars_categories_walker($this->id); } else { $this->walker = $walker; } if (is_null($request)) { $this->request = awpcp_request(); } else { $this->request = $request; } }
/** * Constructor */ public function __construct() { parent::__construct('date', __('Dates', ContentAwareSidebars::DOMAIN), false); }
/** * Constructor */ public function __construct() { parent::__construct('language', __('Languages', ContentAwareSidebars::DOMAIN)); add_filter('pll_get_post_types', array(&$this, 'remove_sidebar_multilingual')); }
/** * Constructor */ public function __construct() { parent::__construct('page_templates', __('Page Templates', ContentAwareSidebars::DOMAIN)); $this->type_display = true; }
/** * Constructor */ public function __construct() { parent::__construct('bp_member', __('BuddyPress Members', ContentAwareSidebars::DOMAIN)); add_filter('cas-is-content-static', array(&$this, 'static_is_content')); }
/** * Constructor */ public function __construct() { parent::__construct('authors', __('Authors', ContentAwareSidebars::DOMAIN), true); $this->searchable = true; $this->type_display = true; }
/** * Constructor */ public function __construct() { parent::__construct('language', __('Languages', ContentAwareSidebars::DOMAIN)); }
/** * Constructor */ public function __construct() { parent::__construct('static', __('Static Pages', ContentAwareSidebars::DOMAIN)); $this->type_display = false; }