WP_Customize_Manager::refresh_nonces()
Refreshes nonces for the current preview.
Source
File: wp-includes/class-wp-customize-manager.php
public function refresh_nonces() {
if ( ! $this->is_preview() ) {
wp_send_json_error( 'not_preview' );
}
wp_send_json_success( $this->get_nonces() );
}
Changelog
Version | Description |
---|---|
4.2.0 | Introduced. |