WordPress at a glance
function is not described

wp_explain_nonce() WP 2.0.4

Deprecated from version 3.4.1. It is no longer supported and can be removed in future releases. Use wp_nonce_ays() instead.

Retrieve nonce action "Are you sure" message.

Deprecated in 3.4.1 and 3.5.0. Backported to 3.3.3.

No Hooks.


String. Are you sure message.


wp_explain_nonce( $action );
$action(string) (required)
Nonce action.


  • See: wp_nonce_ays()


Since 2.0.4 Introduced.
Deprecated Since 3.4.1 Use wp_nonce_ays()

Code of wp_explain_nonce() WP 5.7

function wp_explain_nonce( $action ) {
	_deprecated_function( __FUNCTION__, '3.4.1', 'wp_nonce_ays()' );
	return __( 'Are you sure you want to do this?' );