• Home
  • Knowledgebase
  • DevDocs
  • Translations
  • Support
  • Live Preview

logo DevDocs

By The Events Calendar
Filter by type:
Skip to content
Filter by type:
Search
Browse: Home / Classes / Tribe__Ajax__Operations / Tribe__Ajax__Operations::verify_or_exit()
Product: Tribe Common

Tribe__Ajax__Operations::verify_or_exit( $nonce,  $action,  $exit_data = array() )


Source

File: src/Tribe/Ajax/Operations.php

	public function verify_or_exit( $nonce, $action, $exit_data = array() ) {
		if ( ! wp_verify_nonce( $nonce, $action ) ) {
			exit( $exit_data );
		}

		return true;
	}

Expand full source code Collapse full source code

The Events Calendar
  • Home
  • Products
  • Blog
  • Support
© 2026 The Events Calendar Terms and Conditions Privacy