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.
Parameters
- $matches
(array)(Required)
Return
(string)
Source
File: wp-includes/deprecated.php
function preview_theme_ob_filter_callback( $matches ) { _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.6.0 | Introduced. |