Warning: This method has been deprecated.

WP_Customize_Manager::remove_preview_signature() WordPress Method

The WP_Customize_Manager::remove_preview_signature() method allows you to remove the signature from a WordPress preview URL. This can be useful if you want to share a preview URL with someone without giving them access to your WordPress site.

WP_Customize_Manager::remove_preview_signature( callable|null $callback = null ) #

Removes the signature in case we experience a case where the Customizer was not properly executed.


Parameters

$callback

(callable|null)(Optional) Value passed through for 'wp_die_handler' filter.

Default value: null


Top ↑

Return

(callable|null) Value passed through for 'wp_die_handler' filter.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php

	public function remove_preview_signature( $callback = null ) {
		_deprecated_function( __METHOD__, '4.7.0' );

		return $callback;
	}


Top ↑

Changelog

Changelog
VersionDescription
4.7.0This method has been deprecated.
3.4.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More