WordPress at a glance
function is not described

wp_explain_nonce() WP 2.0.4

Deprecated in 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.

  • See: wp_nonce_ays()

No Hooks.


String. Are you sure message.


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

Code of wp explain nonce: wp-includes/deprecated.php WP 5.2.2

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