_preview_theme_template_filter()
Deprecated since 4.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Private function to modify the current template when previewing a theme
Internal function — this function is designed to be used by the kernel itself. It is not recommended to use this function in your code.
No Hooks.
Returns
String.
Usage
_preview_theme_template_filter();
Changelog
| Since 2.9.0 | Introduced. |
| Deprecated since | 4.3.0 |
_preview_theme_template_filter() preview theme template filter code WP 6.9
function _preview_theme_template_filter() {
_deprecated_function( __FUNCTION__, '4.3.0' );
return '';
}