wp_ajax_rest_nonce()

Ajax handler to renew the REST API nonce.


Source

File: wp-admin/includes/ajax-actions.php. View all references

function wp_ajax_rest_nonce() {
	exit( wp_create_nonce( 'wp_rest' ) );
}


Top ↑

Changelog

Changelog
Version Description
5.3.0 Introduced.

Top ↑

User Contributed Notes

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