コード例 #1
0
 /**
  * This function simply stores, in $template, the filename of the template being used
  *
  * It also returns the template name so WordPress can keep using it, as the filename is retrieved from a filter
  *
  * @since 1.0.0
  */
 public function get_chosen_template_name($template)
 {
     return self::$template = $template;
 }