_strip_template_file_suffix


_strip_template_file_suffix ( $template_file )

Access:
  • private
Parameters:
  • (string) template_file Template file name.
Returns:
  • (string) Template file name without extension.
Defined at:

Description

Strips .php or .html suffix from template file names.

Related Functions

wp_scripts_get_suffix, get_theme_file_uri, get_template_directory_uri, _get_template_edit_filename, get_parent_theme_file_uri

Top Google Results

User discussions

wpseek mobile