_preview_theme_template_filter()WP 2.9.0

Deprecated from version 4.3.0. It is no longer supported and can 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.

Return

String.

Usage

_preview_theme_template_filter();

Changelog

Since 2.9.0 Introduced.
Deprecated since 4.3.0

_preview_theme_template_filter() code WP 6.4.3

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