WordPress at Your Fingertips
function is not described

WC_Settings_Payment_Gateways::get_settings_for_default_section() protected WC 1.0

Get settings array.

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

Return

Array.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_settings_for_default_section();

Code of WC_Settings_Payment_Gateways::get_settings_for_default_section() WC 5.9.0

protected function get_settings_for_default_section() {
	$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_payment_gateways_settings', $settings );
}