This function has been deprecated.

preview_theme()

Start preview theme output buffer.


Description

Will only perform task if the user has permissions and template and preview query variables exist.


Source

File: wp-includes/deprecated.php

function preview_theme() {
	_deprecated_function( __FUNCTION__, 'WP-4.3.0' );
}


Changelog

Changelog
Version Description
WP-4.3.0 This function has been deprecated.
WP-2.6.0 Introduced. This function has been deprecated.