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_ob_filter_callback() WordPress Function

The preview_theme_ob_filter_callback() function is used to preview how a theme will look when it is applied to a site. This function is called by the WordPress preview_theme() function. It takes two arguments: the first is the template name, and the second is an array of data that is used to preview the theme.

preview_theme_ob_filter_callback( array $matches ) #

Manipulates preview theme links in order to control and maintain location.


Description

Callback function for preg_replace_callback() to accept and filter matches.


Top ↑

Parameters

$matches

(array)(Required)


Top ↑

Return

(string)


Top ↑

Source

File: wp-includes/deprecated.php

function preview_theme_ob_filter_callback( $matches ) {
	_deprecated_function( __FUNCTION__, '4.3.0' );
	return '';
}


Top ↑

Changelog

Changelog
VersionDescription
4.3.0This function has been deprecated.
2.6.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.

Show More