acf_get_local_internal_posts()ACF 6.1

Returns local ACF posts with the provided post type.

Хуков нет.

Возвращает

Массив|Разное.

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

acf_get_local_internal_posts( $post_type );
$post_type(строка)
The post type to check for.
По умолчанию: 'acf-field-group'

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

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

Код acf_get_local_internal_posts() ACF 6.4.2

function acf_get_local_internal_posts( $post_type = 'acf-field-group' ) {
	return acf_get_local_store( '', $post_type )->get();
}