_strip_template_file_suffix
- %1$s is private and should not be used in themes or plugins directly.
_strip_template_file_suffix ( $template_file )
Access:Parameters:- (string) template_file Template file name.
Returns:- (string) Template file name without extension.
Defined at: - Introduced in WordPress: 5.8.0
- Deprecated in WordPress: —
Description
Strips .php or .html suffix from template file names.