{"id":1991,"date":"2018-01-21T15:16:10","date_gmt":"2018-01-21T14:16:10","guid":{"rendered":"https:\/\/2018.oslo.wordcamp.org\/?post_type=wcb_session&#038;p=1991"},"modified":"2018-03-02T14:37:31","modified_gmt":"2018-03-02T13:37:31","slug":"captain-hook-the-right-way-to-extend-wordpress","status":"publish","type":"wcb_session","link":"https:\/\/oslo.wordcamp.org\/2018\/session\/captain-hook-the-right-way-to-extend-wordpress\/","title":{"rendered":"Captain Hook \u2013 the right way to extend WordPress"},"content":{"rendered":"<p>One of the most beautiful and powerful features of WordPress is its flexibility and extensibility \u2013 everybody can make WordPress to fit their needs.<\/p>\n<p>But with great power comes great responsibility of doing things the right way. Any WordPress developer can tell endless horror stories of sites they took over from somebody else \u2013 modified Core, modified plugins, thousands of lines of code in functions.php, etc.<\/p>\n<p>This talk introduces the main ways of extending WordPress and explain how to use them properly, with particular emphasis on WordPress hook system.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the most beautiful and powerful features of WordPress is its flexibility and extensibility \u2013 everybody can make WordPress to fit their needs. But with great power comes great responsibility of doing things the right way. Any WordPress developer can tell endless horror stories of sites they took over from somebody else \u2013 modified &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/oslo.wordcamp.org\/2018\/session\/captain-hook-the-right-way-to-extend-wordpress\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Captain Hook \u2013 the right way to extend WordPress&#8221;<\/span><\/a><\/p>\n","protected":false},"author":6754519,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1520085600,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[1937],"footnotes":""},"session_track":[22408],"session_category":[],"class_list":["post-1991","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-developer-track"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p99jJ3-w7","session_date_time":{"date":"March 3, 2018","time":"15:00"},"session_speakers":[{"id":"1937","slug":"arunas-liuiza","name":"Ar\u016bnas Liuiza","link":"https:\/\/oslo.wordcamp.org\/2018\/speaker\/arunas-liuiza\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1991","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":3,"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1991\/revisions"}],"predecessor-version":[{"id":2018,"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/1991\/revisions\/2018"}],"speakers":[{"embeddable":true,"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/1937"}],"author":[{"embeddable":true,"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wporg\/v1\/users\/ideag"}],"wp:attachment":[{"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=1991"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=1991"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/oslo.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=1991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}