{"id":1678,"date":"2018-12-17T15:43:17","date_gmt":"2018-12-17T22:43:17","guid":{"rendered":"https:\/\/2019.phoenix.wordcamp.org\/?post_type=wcb_session&#038;p=1678"},"modified":"2019-02-18T21:17:27","modified_gmt":"2019-02-19T04:17:27","slug":"wordpress-development-in-a-modern-php-world","status":"publish","type":"wcb_session","link":"https:\/\/phoenix.wordcamp.org\/2019\/session\/wordpress-development-in-a-modern-php-world\/","title":{"rendered":"WordPress Development in a Modern PHP World"},"content":{"rendered":"<p>WordPress&#8217; minimum-supported version is still PHP 5.2 (gasp!) but that doesn&#8217;t mean you should let that hold you back from leveraging modern PHP features in your plugins and themes!<\/p>\n<p>In this talk, we&#8217;ll take a deep dive into ways you can start leveraging modern PHP features today to bring new life to that old plugin or theme. We&#8217;ll cover how to code partial plugin activation for old versions of PHP, use autoloaders and namespaces, setup group aliasing, use return type declarations, leverage traits, and much more.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress&#8217; minimum-supported version is still PHP 5.2 (gasp!) but that doesn&#8217;t mean you should let that hold you back from leveraging modern PHP features in your plugins and themes! In this talk, we&#8217;ll take a deep dive into ways you can start leveraging modern PHP features today to bring new life to that old plugin [&hellip;]<\/p>\n","protected":false},"author":5851951,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1550251200,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"http:\/\/drewf.us\/wcphx19","_wcpt_session_video":"","_wcpt_speaker_id":[1391],"footnotes":""},"session_track":[1266127],"session_category":[144],"class_list":["post-1678","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-science-lab","wcb_session_category-development"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9XPAJ-r4","session_date_time":{"date":"February 15, 2019","time":"10:20 am"},"session_speakers":[{"id":"1391","slug":"drew-jaynes","name":"Drew Jaynes","link":"https:\/\/phoenix.wordcamp.org\/2019\/speaker\/drew-jaynes\/"}],"session_cats_rendered":"Development","_links":{"self":[{"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1678","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/users\/5851951"}],"version-history":[{"count":1,"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1678\/revisions"}],"predecessor-version":[{"id":1680,"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/sessions\/1678\/revisions\/1680"}],"speakers":[{"embeddable":true,"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/speakers\/1391"}],"wp:attachment":[{"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/media?parent=1678"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_track?post=1678"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/phoenix.wordcamp.org\/2019\/wp-json\/wp\/v2\/session_category?post=1678"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}