Astra_WP_Async_Request::maybe_handle()

Maybe handle


Description

Check for correct nonce and pass to handler.


Source

File: inc/lib/batch-processing/class-astra-wp-async-request.php

		public function maybe_handle() {
			// Don't lock up other requests while processing
			session_write_close();

			check_ajax_referer( $this->identifier, 'nonce' );

			$this->handle();

			wp_die();
		}


User Contributed Notes

You must log in before being able to contribute a note or feedback.