ACF::has_settingpublicACF 5.6.5

Returns true if a setting exists for this name.

Method of the class: ACF{}

No Hooks.

Returns

boolean.

Usage

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

Changelog

Since 5.6.5 Introduced.

ACF::has_setting() code ACF 6.8.8

public function has_setting( $name ) {
	return isset( $this->settings[ $name ] );
}