WordPress at a glance
function is not described

preview_theme_ob_filter_callback() WP 2.6.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.

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

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

No Hooks.


String. Null. Nothing.


preview_theme_ob_filter_callback( $matches );
$matches(array) (required)


Since 2.6.0 Introduced.
Deprecated 4.3.0

Code of preview_theme_ob_filter_callback() WP 5.7.1

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