public function ajax_handler() {

		if ( $this->utility->validate_nonce( $this->handle ) && $this->validator->validate_all() ) {

			$callback_response = $this->utility->get_callback_response( $this->handle, $this->handle_callback, $this->handle_callback_args );
			$this->responder->handle_response( $callback_response );

		} else {

			http_response_code( 403 ); // Forbidden.
		}

		die();
	}
public function ajax_handler() {

		if ( $this->utility->validate_nonce( $this->handle ) && $this->validator->validate_all() ) {

			$callback_response = $this->utility->get_callback_response( $this->handle, $this->handle_callback, $this->handle_callback_args );
			$this->responder->handle_response( $callback_response );

		} else {

			http_response_code( 403 ); // Forbidden.
		}

		die();
	}
public function ajax_handler ( ) { if ( $ this -> utility -> validate_nonce ( $ this -> handle ) && $ this -> validator -> validate_all ( ) ) { $ callback_response = $ this -> utility -> get_callback_response ( $ this -> handle , $ this -> handle_callback , $ this -> handle_callback_args ) ; $ this -> responder -> handle_response ( $ callback_response ) ; } else { http_response_code ( 403 ) ; // Forbidden. } die ( ) ; }
Handles the Ajax action.
Handles the Ajax action .