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
Return
(callable|null) Value passed through for 'wp_die_handler' filter.
Source
File: wp-includes/class-wp-customize-manager.php
public function remove_preview_signature( $callback = null ) { _deprecated_function( __METHOD__, '4.7.0' ); return $callback; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.7.0 | This method has been deprecated. |
3.4.0 | Introduced. |