This function has been deprecated. Use wp_nonce_ays() instead.

wp_explain_nonce( string $action )

Retrieve nonce action “Are you sure” message.


Description

Deprecated in WP-3.4.1 and WP-3.5.0. Backported to WP-3.3.3.

See also


Parameters

$action

(string) (Required) Nonce action.


Return

(string) Are you sure message.


Source

File: wp-includes/deprecated.php

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


Changelog

Changelog
Version Description
WP-2.0.4 Introduced.