{"id":785,"date":"2018-08-11T17:07:04","date_gmt":"2018-08-11T21:07:04","guid":{"rendered":"https:\/\/2018.wilmington.wordcamp.org\/?post_type=wcb_session&#038;p=785"},"modified":"2018-08-11T17:40:15","modified_gmt":"2018-08-11T21:40:15","slug":"leveraging-php-generators-in-wordpress","status":"publish","type":"wcb_session","link":"https:\/\/wilmington.wordcamp.org\/2018\/session\/leveraging-php-generators-in-wordpress\/","title":{"rendered":"Leveraging PHP Generators in WordPress"},"content":{"rendered":"<p>Come and learn about PHP generators, how they work and why you might want to use them. We&#8217;ll take the standard WordPress loop and show you how a generator could clean up your boilerplate loop code and help prevent mistakes when using WP_Query for secondary loops.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Come and learn about PHP generators, how they work and why you might want to use them. We&#8217;ll take the standard WordPress loop and show you how a generator could clean up your boilerplate loop code and help prevent mistakes when using WP_Query for secondary loops.<\/p>\n","protected":false},"author":5970186,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1537640100,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[704],"footnotes":""},"session_track":[8858],"session_category":[],"class_list":["post-785","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-developers"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9tyM2-cF","session_date_time":{"date":"September 22, 2018","time":"2:15 pm"},"session_speakers":[{"id":"704","slug":"micah-wood","name":"Micah Wood","link":"https:\/\/wilmington.wordcamp.org\/2018\/speaker\/micah-wood\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/785\/revisions"}],"predecessor-version":[{"id":786,"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/785\/revisions\/786"}],"speakers":[{"embeddable":true,"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/704"}],"author":[{"embeddable":true,"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wporg\/v1\/users\/woodent"}],"wp:attachment":[{"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=785"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=785"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/wilmington.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}