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

wp_explain_nonce( string $action )

Retrieve nonce action “Are you sure” message.

Description Description

Deprecated in 3.4.1 and 3.5.0. Backported to 3.3.3.

See also See also

Top ↑

Parameters Parameters


(string) (Required) Nonce action.

Top ↑

Return Return

(string) Are you sure message.

Top ↑

Source Source

File: wp-includes/deprecated.php

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

Top ↑

Changelog Changelog

Version Description
2.0.4 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.