WP_Customize_Manager::refresh_nonces()

Refreshes nonces for the current preview.


Source

File: wp-includes/class-wp-customize-manager.php. View all references

public function refresh_nonces() {
	if ( ! $this->is_preview() ) {
		wp_send_json_error( 'not_preview' );
	}

	wp_send_json_success( $this->get_nonces() );
}


Top ↑

Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.