ACF::get_setting
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() ACF::get setting code ACF 6.8.8
public function get_setting( $name ) {
return isset( $this->settings[ $name ] ) ? $this->settings[ $name ] : null;
}