Как обратиться к элементу?
-
wp_query выдает (через var_dump)
Array ( [0] => WP_Post Object ( [ID] => 36 [post_author] => 1 [post_date] => 2019-01-11 15:36:16 [post_date_gmt] => 2019-01-11 15:36:16 [post_content] => [wbcr_php_snippet id="35"] [post_title] => 111 [post_excerpt] => [post_status] => publish [comment_status] => open [ping_status] => open [post_password] => [post_name] => 111 [to_ping] => [pinged] => [post_modified] => 2019-01-11 15:36:16 [post_modified_gmt] => 2019-01-11 15:36:16 [post_content_filtered] => [post_parent] => 0 [guid] => http://sportideti.ru/?p=36 [menu_order] => 0 [post_type] => post [post_mime_type] => [comment_count] => 0 [filter] => raw ) )
как обратится к [ID] ?
Просмотр 5 ответов — с 1 по 5 (всего 5)
Просмотр 5 ответов — с 1 по 5 (всего 5)
- Тема «Как обратиться к элементу?» закрыта для новых ответов.