jetpack_rest_connection_check_response

jetpack_rest_connection_check_response

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.7.0

apply_filters('jetpack_rest_connection_check_response') is found 1 times:

  • /vendor/automattic/jetpack-connection/src/class-rest-connector.php line 1018
    1014
    1015
    1016
    1017
    1018
    1019
    1020
    1021
    1022
    1023
    1024
    * Filters the successful response of the REST API test_connection method
     *
     * @param string $response The response string.
     */
    $status = apply_filters( 'jetpack_rest_connection_check_response', 'success' );
     
    return rest_ensure_response(
        array(
            'status' => $status,
        )
    );

See this hook used in plugins: