WordPress at a glance
function is not described

WC_Settings_Payment_Gateways::get_settings() public WC 1.0

Get settings array.

{} It's a method of the class: WC_Settings_Payment_Gateways{}

Return

Array. Nothing.

Usage

$WC_Settings_Payment_Gateways = new WC_Settings_Payment_Gateways();
$WC_Settings_Payment_Gateways->get_settings( $current_section );
$current_section(string)
Section being shown.

Code of WC_Settings_Payment_Gateways::get_settings() WC 5.3.0

<?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 );
}