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