{"id":765,"date":"2018-05-15T01:47:16","date_gmt":"2018-05-15T01:47:16","guid":{"rendered":"https:\/\/2018.halifax.wordcamp.org\/?post_type=wcb_session&#038;p=765"},"modified":"2018-05-23T00:54:17","modified_gmt":"2018-05-23T00:54:17","slug":"wordpress-coding-standards-best-practices","status":"publish","type":"wcb_session","link":"https:\/\/halifax.wordcamp.org\/2018\/session\/wordpress-coding-standards-best-practices\/","title":{"rendered":"WordPress Coding Standards &amp; 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>Understand the WordPress Coding Standard<br \/>\nWrite Short, Reusable Functions<br \/>\nBegin using Unit Testing to ensure code functions as expected<br \/>\nBegin using UI testing to ensure pages behave as expected<br \/>\nDiscuss benefits of code review<\/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 &hellip; <a href=\"https:\/\/halifax.wordcamp.org\/2018\/session\/wordpress-coding-standards-best-practices\/\">Continue reading <span class=\"assistive-text\">WordPress Coding Standards &amp; Best Practices<\/span>  <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":5603640,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1529168400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[763],"footnotes":""},"session_track":[1243284,118835],"session_category":[],"class_list":["post-765","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-3rd-floor-room-2","wcb_track-code-creators"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9nIuU-cl","session_date_time":{"date":"June 16, 2018","time":"2:00 pm"},"session_speakers":[{"id":"763","slug":"shawn-hooper","name":"Shawn Hooper","link":"https:\/\/halifax.wordcamp.org\/2018\/speaker\/shawn-hooper\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/765","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/765\/revisions"}],"predecessor-version":[{"id":836,"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/765\/revisions\/836"}],"speakers":[{"embeddable":true,"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/763"}],"author":[{"embeddable":true,"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wporg\/v1\/users\/shooper"}],"wp:attachment":[{"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=765"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=765"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/halifax.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=765"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}