public function __construct($template, $taxonomy, $term = '') { parent::__construct('template_include'); $this->template = $template; $this->taxonomy = $taxonomy; $this->term = $term; }
public function __construct($template, $postType) { parent::__construct('template_include'); $this->postType = $postType; $this->template = $template; }
public function __construct(\Walker_Nav_Menu $walker) { parent::__construct('wp_nav_menu_args'); $this->walker = $walker; }