woocommerce_rest_prepare_shipping_method

woocommerce_rest_prepare_shipping_method

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

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_rest_prepare_shipping_method') is found 1 times:

  • /includes/rest-api/Controllers/Version2/class-wc-rest-shipping-methods-v2-controller.php line 163
    		 * @param WP_REST_Response   $response The response object.
    		 * @param WC_Shipping_Method $method   Shipping method object used to create response.
    		 * @param WP_REST_Request    $request  Request object.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_shipping_method', $response, $method, $request );
    	}
    
    	/**
    	 * Prepare links for the request.
    	 *
    	 * @param WC_Shipping_Method $method Shipping method object.