{"id":1789,"date":"2017-08-18T00:17:28","date_gmt":"2017-08-18T07:17:28","guid":{"rendered":"https:\/\/2017.portland.wordcamp.org\/?post_type=wcb_session&#038;p=1789"},"modified":"2017-10-01T20:41:37","modified_gmt":"2017-10-02T03:41:37","slug":"wordpress-coding-best-practices","status":"publish","type":"wcb_session","link":"https:\/\/portland.wordcamp.org\/2017\/session\/wordpress-coding-best-practices","title":{"rendered":"WordPress Coding Best Practices"},"content":{"rendered":"<p>Yes, your code works, but is it the best it could be? This talk will guide you through tips and tricks to make your code efficient, safe, and easy to read. It\u2019s a great primer for new developers, and a good reminder for those of us who have developed bad habits over time.<\/p>\n<p>&#8211; Understand the WordPress Coding Standard<br \/>\n&#8211; Write Short, Reusable Functions<br \/>\n&#8211; Understand what Unit Testing &amp; Browser Testing are<br \/>\n&#8211; Discuss benefits of code review<\/p>\n<p><a class=\"pushbutton\" href=\"https:\/\/drive.google.com\/file\/d\/0B4UTEW-2AKYoWGE5LXRwbFpHS1k\/view?usp=sharing\">View Session Slides<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yes, your code works, but is it the best it could be? This talk will guide you through tips and tricks to make your code efficient, safe, and easy to read. It\u2019s a great primer for new developers, and a good reminder for those of us who have developed bad habits over time. &#8211; Understand &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/portland.wordcamp.org\/2017\/session\/wordpress-coding-best-practices\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;WordPress Coding Best Practices&#8221;<\/span><\/a><\/p>\n","protected":false},"author":5603640,"featured_media":0,"template":"","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_wcpt_session_time":1506184200,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/drive.google.com\/file\/d\/0B4UTEW-2AKYoWGE5LXRwbFpHS1k\/view?usp=sharing","_wcpt_session_video":"","_wcpt_speaker_id":[1740],"footnotes":""},"session_track":[107607],"session_category":[],"class_list":["post-1789","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-columbia"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p837XX-sR","jetpack_likes_enabled":true,"session_date_time":{"date":"September 23, 2017","time":"9:30 am"},"session_speakers":[{"id":"1740","slug":"shawn-hooper","name":"Shawn Hooper","link":"https:\/\/portland.wordcamp.org\/2017\/speaker\/shawn-hooper"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1789","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1789\/revisions"}],"predecessor-version":[{"id":2979,"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/sessions\/1789\/revisions\/2979"}],"speakers":[{"embeddable":true,"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/speakers\/1740"}],"author":[{"embeddable":true,"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wporg\/v1\/users\/shooper"}],"wp:attachment":[{"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/media?parent=1789"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_track?post=1789"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/portland.wordcamp.org\/2017\/wp-json\/wp\/v2\/session_category?post=1789"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}