acf_get_location_types()ACF 5.9.0

Returns an array of all registered location types.

No Hooks.

Returns

Array.

Usage

acf_get_location_types();

Changelog

Since 5.9.0 Introduced.

acf_get_location_types() code ACF 6.0.4

function acf_get_location_types() {
	return acf_get_store( 'location-types' )->get();
}