{"id":12778,"date":"2023-05-08T17:55:57","date_gmt":"2023-05-08T14:55:57","guid":{"rendered":"https:\/\/europe.wordcamp.org\/2023\/?post_type=wcb_session&#038;p=12778"},"modified":"2023-06-05T12:53:01","modified_gmt":"2023-06-05T09:53:01","slug":"wordpress-and-hooks-understanding-and-using-them","status":"publish","type":"wcb_session","link":"https:\/\/europe.wordcamp.org\/2023\/session\/wordpress-and-hooks-understanding-and-using-them\/","title":{"rendered":"WordPress and hooks: understanding and using them"},"content":{"rendered":"\n<p>When I started developing for WordPress I was so excited about modifying and doing stuff with it. Along the way, I was reading tutorials and whenever I needed to do something that WordPress couldn&#8217;t do out of the box, I Googled it, found something, pasted it (on my functions.php file&#8230;nooo) and saw the magic (or not) happen.<\/p>\n\n\n\n<p>As I progressed as a developer I came to a point, which was a turning point for me. The concept of hooks. This changed completely the way I saw WordPress and from there on, I now fully understand the concept, but it has also made change the way I develop.<\/p>\n\n\n\n<p>In this workshop we are going to work with hooks: the different types of hooks that WordPress has, we are going to use some of the ones that WordPress has to offer and of course, create our own.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;When I started developing for WordPress I was so excited about modifying and doing stuff with it. Along the way, I was reading tutorials and whenever I needed to do something that WordPress couldn&#8217;t do out of the box, I Googled it, found something, pasted it (on my functions.php file&#8230;nooo) and saw the magic (or not) happen. <\/p>\n<p>As I progressed as a developer I came to a point, which was a turning point for me. The concept of hooks. This changed completely the way I saw WordPress and from there on, I now fully understand the concept, but it has also made change the way I develop.<\/p>\n<p>In this workshop we are going to work with hooks: the different types of hooks that WordPress has, we are going to use some of the ones that WordPress has to offer and of course, create our own.&#8221;<\/p>\n","protected":false},"author":9646509,"featured_media":16498,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1686308400,"_wcpt_session_duration":7200,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[12663],"footnotes":""},"session_track":[81],"session_category":[],"class_list":["post-12778","wcb_session","type-wcb_session","status-publish","has-post-thumbnail","hentry","wcb_track-workshop-1"],"jetpack_shortlink":"https:\/\/wp.me\/pdWJfM-3k6","jetpack_sharing_enabled":true,"session_date_time":{"date":"9 June 2023","time":"14:00"},"session_speakers":[{"id":"12663","slug":"marco-berrocal","name":"Marco Berrocal","link":"https:\/\/europe.wordcamp.org\/2023\/speaker\/marco-berrocal\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/12778","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":2,"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/12778\/revisions"}],"predecessor-version":[{"id":16140,"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/12778\/revisions\/16140"}],"speakers":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/speakers\/12663"}],"author":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wporg\/v1\/users\/onilinkcr"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/media\/16498"}],"wp:attachment":[{"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/media?parent=12778"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_track?post=12778"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/europe.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_category?post=12778"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}