HEX
Server: LiteSpeed
System: Linux server315.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: globfdxw (6114)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: /home/globfdxw/www/wp-content/plugins/the-events-calendar/common/src/Tribe/Ajax/Operations.php
<?php


/**
 * Class Tribe__Ajax__Operations
 *
 * Handles common AJAX operations.
 */
class Tribe__Ajax__Operations {

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

		return true;
	}

	public function exit_data( $data = [] ) {
		exit( $data );
	}
}