preview_theme()
Deprecated since 4.3.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.
Start preview theme output buffer.
Will only perform task if the user has permissions and template and preview query variables exist.
No Hooks.
Returns
null. Nothing (null).
Usage
preview_theme();
Changelog
| Since 2.6.0 | Introduced. |
| Deprecated since | 4.3.0 |
preview_theme() preview theme code WP 6.8.3
function preview_theme() {
_deprecated_function( __FUNCTION__, '4.3.0' );
}