acf_get_raw_internal_post_type_posts()
Returns an array of raw/unvalidated ACF post data.
Хуков нет.
Возвращает
Массив
.
Использование
acf_get_raw_internal_post_type_posts( $post_type );
- $post_type(строка) (обязательный)
- The ACF post type to get post data for.
Список изменений
С версии 6.1 | Введена. |
Код acf_get_raw_internal_post_type_posts() acf get raw internal post type posts ACF 6.4.2
function acf_get_raw_internal_post_type_posts( $post_type ) { $raw_posts = array(); $instance = acf_get_internal_post_type_instance( $post_type ); if ( $instance ) { $raw_posts = $instance->get_raw_posts(); } return $raw_posts; }