AnsPress_Ajax::send( array|string $result )

Description #

Send JSON response and terminate.

Parameters #

  • $result
    array | string (Required) Ajax response.

Source #

File: includes/ajax-hooks.php

	public static function send( $result ) {
		ap_send_json( ap_ajax_responce( $result ) );
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment