anspress_verify_nonce( string $action )

Description #

Verify the __nonce field.

Parameters #

  • $action
    string (Required) Action.

Changelog #

4.4.0Modified function name from ap_verify_nonce.

Source #

File: includes/functions.php

function anspress_verify_nonce( $action ) {
	return wp_verify_nonce( ap_sanitize_unslash( '__nonce', 'p' ), $action );

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment