_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

_get_block_templates_files, _get_block_template_file, wp_scripts_get_suffix, get_theme_file_uri, get_template_directory_uri

Top Google Results

User discussions

wpseek mobile