wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_ajax_rest_nonce › WordPress Function

Since5.3.0
Deprecatedn/a
wp_ajax_rest_nonce ( No parameters )
Defined at:
Codex:

Handles renewing the REST API nonce via AJAX.



Source

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