acf_get_store()ACF 5.7.10

acf_get_store

Returns a data store.

No Hooks.

Returns

ACF_Data.

Usage

acf_get_store( $name );
$name(string)
The store name.
Default: ''

Changelog

Since 5.7.10 Introduced.

acf_get_store() code ACF 6.0.4

function acf_get_store( $name = '' ) {
	global $acf_stores;
	return isset( $acf_stores[ $name ] ) ? $acf_stores[ $name ] : false;
}