WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Blocks\Payments\Integrations

AbstractPaymentMethodType::get_setting() protected WC 1.0

Get a setting from the settings array if set.

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

No Hooks.

Return

Mixed.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_setting( $name, $default );
$name(string) (required)
Setting name.
$default(mixed)
Value that is returned if the setting does not exist.
Default: ''

Code of AbstractPaymentMethodType::get_setting() WC 5.6.0

protected function get_setting( $name, $default = '' ) {
	return isset( $this->settings[ $name ] ) ? $this->settings[ $name ] : $default;
}