ACF::get_datapublicACF 5.0.0

Returns data or null if doesn't exist.

Method of the class: ACF{}

No Hooks.

Returns

mixed.

Usage

$ACF = new ACF();
$ACF->get_data( $name );
$name(string) (required)
The data name.

Changelog

Since 5.0.0 Introduced.

ACF::get_data() code ACF 6.8.8

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