ap_send_json( array $result = array() )
Description #
Send a array as a JSON.
Parameters #
- $resultarray (Optional) Results. Default value: array()
Source #
File: includes/functions.php
function ap_send_json( $result = array() ) { $result['is_ap_ajax'] = true; wp_send_json( $result ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped }
Expand full source code Collapse full source code View on GitHub: includes/functions.php:472
Add your comment