Skip to content

Instantly share code, notes, and snippets.

@fourstacks
Last active August 29, 2015 13:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fourstacks/9806486 to your computer and use it in GitHub Desktop.
Save fourstacks/9806486 to your computer and use it in GitHub Desktop.
Debug output of nested ACF fields
<pre>
Array
(
[0] => Array
(
[parent_link_text] => About Us
[parent_link] => WP_Post Object
(
[ID] => 6
[post_author] => 1
[post_date] => 2014-03-17 10:54:37
[post_date_gmt] => 2014-03-17 10:54:37
[post_content] =>
[post_title] => Meet the Team
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => meet-the-team
[to_ping] =>
[pinged] =>
[post_modified] => 2014-03-26 12:07:36
[post_modified_gmt] => 2014-03-26 12:07:36
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://localhost:8888/cil/?page_id=6
[menu_order] => 0
[post_type] => page
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[children] =>
)
[1] => Array
(
[parent_link_text] => Our Work
[parent_link] => WP_Post Object
(
[ID] => 12
[post_author] => 1
[post_date] => 2014-03-17 10:55:29
[post_date_gmt] => 2014-03-17 10:55:29
[post_content] =>
[post_title] => What we do
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => what-we-do
[to_ping] =>
[pinged] =>
[post_modified] => 2014-03-17 10:55:29
[post_modified_gmt] => 2014-03-17 10:55:29
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://localhost:8888/cil/?page_id=12
[menu_order] => 0
[post_type] => page
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[children] => Array
(
[0] => Array
(
[acf_fc_layout] => mini_image_links
[mini_images_title] => Sectors
[mini_image_links] => Array
(
[0] => Array
(
[page_link] =>
[test] =>
)
[1] => Array
(
[page_link] =>
[test] =>
)
[2] => Array
(
[page_link] =>
[test] =>
)
[3] => Array
(
[page_link] =>
[test] =>
)
[4] => Array
(
[page_link] =>
[test] =>
)
[5] => Array
(
[page_link] =>
[test] =>
)
[6] => Array
(
[page_link] =>
[test] =>
)
[7] => Array
(
[page_link] =>
[test] =>
)
)
)
[1] => Array
(
[acf_fc_layout] => highlight_panel
[panel_link] => WP_Post Object
(
[ID] => 12
[post_author] => 1
[post_date] => 2014-03-17 10:55:29
[post_date_gmt] => 2014-03-17 10:55:29
[post_content] =>
[post_title] => What we do
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => what-we-do
[to_ping] =>
[pinged] =>
[post_modified] => 2014-03-17 10:55:29
[post_modified_gmt] => 2014-03-17 10:55:29
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://localhost:8888/cil/?page_id=12
[menu_order] => 0
[post_type] => page
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[panel_text] => Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.
)
)
)
[2] => Array
(
[parent_link_text] => Join Us
[parent_link] => WP_Post Object
(
[ID] => 16
[post_author] => 1
[post_date] => 2014-03-17 10:56:24
[post_date_gmt] => 2014-03-17 10:56:24
[post_content] =>
[post_title] => Join Us
[post_excerpt] =>
[post_status] => publish
[comment_status] => open
[ping_status] => open
[post_password] =>
[post_name] => join-us
[to_ping] =>
[pinged] =>
[post_modified] => 2014-03-17 10:56:24
[post_modified_gmt] => 2014-03-17 10:56:24
[post_content_filtered] =>
[post_parent] => 0
[guid] => http://localhost:8888/cil/?page_id=16
[menu_order] => 0
[post_type] => page
[post_mime_type] =>
[comment_count] => 0
[filter] => raw
)
[children] =>
)
)
</pre>
345 options_parent_navigation_items_1_children_0_mini_image_links_0_ 49
346 _options_parent_navigation_items_1_children_0_mini_image_links_0 field_53332fa12703d
347 options_parent_navigation_items_1_children_0_mini_image_links_1_ 51
348 _options_parent_navigation_items_1_children_0_mini_image_links_1 field_53332fa12703d
349 options_parent_navigation_items_1_children_0_mini_image_links_2_ 57
350 _options_parent_navigation_items_1_children_0_mini_image_links_2 field_53332fa12703d
351 options_parent_navigation_items_1_children_0_mini_image_links_3_ 45
352 _options_parent_navigation_items_1_children_0_mini_image_links_3 field_53332fa12703d
353 options_parent_navigation_items_1_children_0_mini_image_links_4_ 55
354 _options_parent_navigation_items_1_children_0_mini_image_links_4 field_53332fa12703d
355 options_parent_navigation_items_1_children_0_mini_image_links_5_ 53
356 _options_parent_navigation_items_1_children_0_mini_image_links_5 field_53332fa12703d
357 options_parent_navigation_items_1_children_0_mini_image_links_6_ 59
358 _options_parent_navigation_items_1_children_0_mini_image_links_6 field_53332fa12703d
359 options_parent_navigation_items_1_children_0_mini_image_links_7_ 53
360 _options_parent_navigation_items_1_children_0_mini_image_links_7 field_53332fa12703d
361 options_parent_navigation_items_1_children_0_mini_image_links 8
362 _options_parent_navigation_items_1_children_0_mini_image_links field_53332f282703c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment