wp_ajax_rest_nonce

Advertisement

Summery Summery

Ajax handler to renew the REST API nonce.

Syntax Syntax

wp_ajax_rest_nonce()

Source Source

File: wp-admin/includes/ajax-actions.php

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

Advertisement

Changelog Changelog

Changelog
Version Description
5.3.0 Introduced.

Advertisement

Leave a Reply