woocommerce_rest_prepare_customer_download

woocommerce_rest_prepare_customer_download

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

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_rest_prepare_customer_download') is found 2 times:

  • /includes/rest-api/Controllers/Version1/class-wc-rest-customer-downloads-v1-controller.php line 131
    		 * @param WP_REST_Response $response  The response object.
    		 * @param stdObject        $download  Download object used to create response.
    		 * @param WP_REST_Request  $request   Request object.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_customer_download', $response, $download, $request );
    	}
    
    	/**
    	 * Prepare links for the request.
    	 *
    	 * @param stdClass $download Download object.
    
  • /includes/rest-api/Controllers/Version2/class-wc-rest-customer-downloads-v2-controller.php line 66
    		 * @param WP_REST_Response $response  The response object.
    		 * @param stdClass         $download  Download object used to create response.
    		 * @param WP_REST_Request  $request   Request object.
    		 */
    		return apply_filters( 'woocommerce_rest_prepare_customer_download', $response, $download, $request );
    	}
    
    	/**
    	 * Get the Customer Download's schema, conforming to JSON Schema.
    	 *
    	 * @return array