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)


Top ↑

Source

File: wp-includes/deprecated.php

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


Top ↑

Changelog

Changelog
VersionDescription
4.3.0This function has been deprecated.
2.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.