acf_get_acf_post_types()
Returns and array of ACF post types for the given $filter.
Хуков нет.
Возвращает
Массив.
Использование
acf_get_acf_post_types( $filter );
- $filter(массив)
- An array of args to filter results by.
По умолчанию:array()
Список изменений
| С версии 6.1 | Введена. |
Код acf_get_acf_post_types() acf get acf post types ACF 6.4.2
function acf_get_acf_post_types( array $filter = array() ) {
return acf_get_internal_post_type_posts( 'acf-post-type', $filter );
}