acf_get_store()ACF 5.7.10

acf_get_store

Returns a data store.

Хуков нет.

Возвращает

ACF_Data.

Использование

acf_get_store( $name );
$name(строка)
The store name.
По умолчанию: ''

Список изменений

С версии 5.7.10 Введена.

Код acf_get_store() ACF 6.0.4

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