Checks if a template is registered.
Parameters
$template_name
stringrequired- Template name.
Source
public function is_registered( $template_name ) {
return isset( $this->registered_templates[ $template_name ] );
}
Changelog
Version | Description |
---|---|
6.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.