W3cubDocs

/WordPress

preview_theme_ob_filter_callback( array $matches ): string

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

Description

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

Parameters

$matchesarrayrequired

Return

string

Source

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

Changelog

Version Description
4.3.0 This function has been deprecated.
2.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/preview_theme_ob_filter_callback