File Editor
Directories:
.. (Back)
Files:
Dropdown.php
Operations.php
Create New File
Create
Edit File: 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 ); } }
Save Changes
Rename File
Rename