AnsPress_Ajax::send( array|string $result )
Description #
Send JSON response and terminate.
Parameters #
- $resultarray | string (Required) Ajax response.
Source #
File: includes/ajax-hooks.php
public static function send( $result ) { ap_send_json( ap_ajax_responce( $result ) ); }
Expand full source code Collapse full source code View on GitHub: includes/ajax-hooks.php:433
Add your comment