WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Settings_Payment_Gateways::output() public WC 1.0

Output the settings.

Это метод класса: WC_Settings_Payment_Gateways{}

Хуков нет.

Возвращает

Null. Ничего.

Использование

$WC_Settings_Payment_Gateways = new WC_Settings_Payment_Gateways();
$WC_Settings_Payment_Gateways->output();

Код WC_Settings_Payment_Gateways::output() WC 4.5.2

woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php
<?php
public function output() {
	global $current_section;

	// Load gateways so we can show any global options they may have.
	$payment_gateways = WC()->payment_gateways->payment_gateways();

	if ( $current_section ) {
		foreach ( $payment_gateways as $gateway ) {
			if ( in_array( $current_section, array( $gateway->id, sanitize_title( get_class( $gateway ) ) ), true ) ) {
				if ( isset( $_GET['toggle_enabled'] ) ) { // WPCS: input var ok, CSRF ok.
					$enabled = $gateway->get_option( 'enabled' );

					if ( $enabled ) {
						$gateway->settings['enabled'] = wc_string_to_bool( $enabled ) ? 'no' : 'yes';
					}
				}
				$gateway->admin_options();
				break;
			}
		}
	}
	$settings = $this->get_settings( $current_section );
	WC_Admin_Settings::output_fields( $settings );
}