Automattic\WooCommerce\Admin\Features\PaymentGatewaySuggestions
PaymentGatewaysController::init()
Initialize payment gateway changes.
Method of the class: PaymentGatewaysController{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = PaymentGatewaysController::init();
PaymentGatewaysController::init() PaymentGatewaysController::init code WC 9.7.1
public static function init() { add_filter( 'woocommerce_rest_prepare_payment_gateway', array( __CLASS__, 'extend_response' ), 10, 3 ); add_filter( 'admin_init', array( __CLASS__, 'possibly_do_connection_return_action' ) ); add_action( 'woocommerce_admin_payment_gateway_connection_return', array( __CLASS__, 'handle_successfull_connection' ) ); }