ACF::get_setting │ public │ ACF 5.0.0

Returns a setting or null if doesn't exist.

Method of the class: ACF{}

No Hooks.

Returns

mixed.

Usage

$ACF = new ACF();
$ACF->get_setting( $name );
$name(string) (required)
The setting name.

Changelog

Since 5.0.0 Introduced.

ACF::get_setting() code ACF 6.8.8

public function get_setting( $name ) {
	return isset( $this->settings[ $name ] ) ? $this->settings[ $name ] : null;
}