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

WC_Settings_Payment_Gateways::get_settings() WC 1.0

Get settings array.

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

Возвращает

Массив.

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

$WC_Settings_Payment_Gateways = new WC_Settings_Payment_Gateways();
$var = $WC_Settings_Payment_Gateways->get_settings( $current_section );
$current_section(строка)
Section being shown.
По умолчанию: ''

Код WC Settings Payment Gateways::get settings: woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php WC 3.7.1

<?php
public function get_settings( $current_section = '' ) {
	$settings = array();

	if ( '' === $current_section ) {
		$settings = apply_filters(
			'woocommerce_payment_gateways_settings',
			array(
				array(
					'title' => __( 'Payment methods', 'woocommerce' ),
					'desc'  => __( 'Installed payment methods are listed below and can be sorted to control their display order on the frontend.', 'woocommerce' ),
					'type'  => 'title',
					'id'    => 'payment_gateways_options',
				),
				array(
					'type' => 'payment_gateways',
				),
				array(
					'type' => 'sectionend',
					'id'   => 'payment_gateways_options',
				),
			)
		);
	}

	return apply_filters( 'woocommerce_get_settings_' . $this->id, $settings, $current_section );
}