woocommerce_rest_prepare_data_continent

woocommerce_rest_prepare_data_continent

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_rest_prepare_data_continent') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-data-continents-controller.php line 219
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
         * @param WP_REST_Response $response The response object.
         * @param array            $item     The original list of continent(s), countries, and states.
         * @param WP_REST_Request  $request  Request used to generate the response.
         */
        return apply_filters( 'woocommerce_rest_prepare_data_continent', $response, $item, $request );
    }
     
    /**
     * Prepare links for the request.
     *
     * @param object $item Data object.