public function __construct() { parent::__construct('customer-private-files-home', '4.0.0', 'customer-private-files'); $this->set_page_parameters(500, array('slug' => 'customer-private-files-home', 'parent_slug' => 'customer-home', 'friendly_post_type' => 'cuar_private_file', 'friendly_taxonomy' => 'cuar_private_file_category', 'required_capability' => 'cuar_view_files')); $this->set_page_shortcode('customer-area-private-files-home'); }
public function __construct() { parent::__construct('customer-account-home', '4.0.0', 'customer-account'); $this->set_page_parameters(800, array('slug' => 'customer-account-home', 'parent_slug' => 'customer-home')); $this->set_page_shortcode('customer-account-home'); }
public function __construct() { parent::__construct('customer-home', '4.0.0', 'customer-dashboard'); $this->set_page_parameters(1, array('slug' => 'customer-home', 'always_include_in_menu' => true)); $this->set_page_shortcode('customer-area'); }