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.

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_ob_filter_callback( $matches );
$matches(array) (required)
-

Changelog

Since 2.6.0 Introduced.
Deprecated since 4.3.0

preview_theme_ob_filter_callback() code WP 6.5.2

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