WordPress at a glance
function is not described

preview_theme_ob_filter() 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.

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

No Hooks.


String. Null. Nothing.


preview_theme_ob_filter( $content );
$content(string) (required)


Since 2.6.0 Introduced.
Deprecated 4.3.0

Code of preview_theme_ob_filter() WP 5.7

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