WordPress开发者和主题制作者的搜索引擎



wp_explain_nonce ›

Since2.0.4
已弃用3.4.1
wp_explain_nonce ( $action )
参数:
  • (string) $action Nonce action.
    Required: Yes
查看:
返回:
  • (string) Are you sure message.
定义在:
文档:

Retrieve nonce action "Are you sure" message.

Deprecated in 3.4.1 and 3.5.0. Backported to 3.3.3.



源码

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