WC_Settings_Payment_Gateways::run_gateway_admin_optionsprotectedWC 1.0

Run the 'admin_options' method on a given gateway.

This method exists to help with unit testing.

Method of the class: WC_Settings_Payment_Gateways{}

No Hooks.

Returns

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::run_gateway_admin_options() code WC 10.3.3

protected function run_gateway_admin_options( $gateway ) {
	$gateway->admin_options();
}