W3cubDocs

/WordPress

_preview_theme_template_filter(): string

Private function to modify the current template when previewing a theme

Return

string

Source

function _preview_theme_template_filter() {
	_deprecated_function( __FUNCTION__, '4.3.0' );
	return '';
}

Changelog

Version Description
4.3.0 This function has been deprecated.
2.9.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_preview_theme_template_filter