It was brought to our attention that MasterPress would give a tonne of warnings and deprecation notices when used with PHP 7.4 – this update addresses those.
Returns the filename of the current template, with or without the extension. This method serves as a basis for the WOOF::template method which always returns the template filename sans-extension.
String $suffix = ""
The suffix to remove from the basename. If not provided, the filename will include the extension.