W3cubDocs

/WordPress

preview_theme_ob_filter( string $content )

This function has been deprecated.

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.

Callback function for ob_start() to capture all links in the theme.

Parameters

$content

(string) (Required)

Return

(string)

Source

File: wp-includes/deprecated.php

function preview_theme_ob_filter( $content ) {
	_deprecated_function( __FUNCTION__, '4.3.0' );
	return $content;
}

Changelog

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

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