preview_theme_ob_filter_callback( array $matches ): string

This function has been deprecated since 4.3.0.

This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only by core. It is listed here for completeness.

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

VersionDescription
4.3.0Deprecated.
2.6.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.