includes/class-freemius.php
static function shoot_ajax_failure( $error = '' ) {
            $result = array( 'success' => false );
            if ( ! empty( $error ) ) {
                $result['error'] = $error;
            }

            wp_send_json( $result );
        }
static function shoot_ajax_failure( $error = '' ) {
            $result = array( 'success' => false );
            if ( ! empty( $error ) ) {
                $result['error'] = $error;
            }

            wp_send_json( $result );
        }
static function shoot_ajax_failure ( $ error = '' ) { $ result = array ( 'success' => false ) ; if ( ! empty ( $ error ) ) { $ result [ 'error' ] = $ error ; } wp_send_json ( $ result ) ; }
Send a JSON response back to an Ajax request, indicating failure.

@author Vova Feldman (@svovaf)
@since  1.2.1.5

@param mixed $error Optional error message.
Send a JSON response back to an Ajax request indicating failure .