acf_get_location_types()
Returns an array of all registered location types.
Хуков нет.
Возвращает
Массив.
Использование
acf_get_location_types();
Список изменений
| С версии 5.9.0 | Введена. |
Код acf_get_location_types() acf get location types ACF 6.4.2
function acf_get_location_types() {
return acf_get_store( 'location-types' )->get();
}