A WordPress-centric search engine for devs and theme authors



wp_ajax_rest_nonce ›

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

Ajax handler to renew the REST API nonce.



Source

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