{"id":444,"date":"2015-03-17T11:20:35","date_gmt":"2015-03-17T16:20:35","guid":{"rendered":"http:\/\/www.g31zone.com\/?p=444"},"modified":"2015-03-17T11:20:35","modified_gmt":"2015-03-17T16:20:35","slug":"view-array-content-in-twig","status":"publish","type":"post","link":"https:\/\/www.g31zone.com\/?p=444","title":{"rendered":"View array content in twig"},"content":{"rendered":"<p>The dump function dumps information about a template variable. It can be used as an alternative to var_dump or print_r from php. This is mostly useful to debug a template that does not behave as expected by introspecting its variables:<\/p>\n<p><code><br \/>\n{{ dump(var_name) }}<br \/>\n<\/code><\/p>\n<p>Read entire article at: <a href=\"http:\/\/twig.sensiolabs.org\/doc\/functions\/dump.html\" target=\"_blank\" rel=\"nofollow\">Twig -> Functions -> dump<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The dump function dumps information about a template variable. It can be used as an alternative to var_dump or print_r from php. This is mostly useful to debug a template that does not behave as expected by introspecting its variables: {{ dump(var_name) }} Read entire article at: Twig -> Functions -> dump<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[151],"tags":[153,152],"class_list":["post-444","post","type-post","status-publish","format-standard","hentry","category-twig","tag-twig-print_r","tag-twig-var_dump"],"_links":{"self":[{"href":"https:\/\/www.g31zone.com\/index.php?rest_route=\/wp\/v2\/posts\/444"}],"collection":[{"href":"https:\/\/www.g31zone.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.g31zone.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.g31zone.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.g31zone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=444"}],"version-history":[{"count":2,"href":"https:\/\/www.g31zone.com\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions"}],"predecessor-version":[{"id":446,"href":"https:\/\/www.g31zone.com\/index.php?rest_route=\/wp\/v2\/posts\/444\/revisions\/446"}],"wp:attachment":[{"href":"https:\/\/www.g31zone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=444"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.g31zone.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=444"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.g31zone.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=444"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}