WC_Settings_Payment_Gateways_React::run_gateway_admin_options()
Run the 'admin_options' method on a given gateway. This method exists to easy unit testing.
Method of the class: WC_Settings_Payment_Gateways_React{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->run_gateway_admin_options( $gateway );
- $gateway(object) (required)
- The gateway object to run the method on.
WC_Settings_Payment_Gateways_React::run_gateway_admin_options() WC Settings Payment Gateways React::run gateway admin options code WC 9.5.1
protected function run_gateway_admin_options( $gateway ) { $gateway->admin_options(); }