WordPress at Your Fingertips
function is not described

wp_ajax_rest_nonce() WP 5.3.0

Ajax handler to renew the REST API nonce.

No Hooks.

Return

null. Nothing.

Usage

wp_ajax_rest_nonce();

Changelog

Since 5.3.0 Introduced.

Code of wp_ajax_rest_nonce() WP 5.8.2

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