apply_filters( 'woocommerce_rest_prepare_payment_gateway', WP_REST_Response $response, WC_Payment_Gateway $gateway, WP_REST_Request $request )

Filter payment gateway objects returned from the REST API.


Description Description


Parameters Parameters

$response

The response object.

$gateway

Payment gateway object.

$request

Request object.


Top ↑

Source Source

File: includes/rest-api/Controllers/Version3/class-wc-rest-payment-gateways-controller.php



Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.