Warning: This function has been deprecated.
Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
_preview_theme_template_filter() WordPress Function
The preview_theme_template_filter() function allows you to filter the template that is used when previewing a theme. This can be useful if you want to override the template that is normally used for previews.
_preview_theme_template_filter() #
Private function to modify the current template when previewing a theme
Return
(string)
Source
File: wp-includes/deprecated.php
function _preview_theme_template_filter() { _deprecated_function( __FUNCTION__, '4.3.0' ); return ''; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.3.0 | This function has been deprecated. |
2.9.0 | Introduced. |