{"id":343,"date":"2023-08-31T17:07:40","date_gmt":"2023-08-31T21:07:40","guid":{"rendered":"https:\/\/rochester.wordcamp.org\/2023\/?post_type=wcb_session&#038;p=343"},"modified":"2023-08-31T17:07:40","modified_gmt":"2023-08-31T21:07:40","slug":"flexible-wordpress-how-to-use-action-and-filter-hooks","status":"publish","type":"wcb_session","link":"https:\/\/rochester.wordcamp.org\/2023\/session\/flexible-wordpress-how-to-use-action-and-filter-hooks\/","title":{"rendered":"Flexible WordPress: How to Use Action and Filter Hooks"},"content":{"rendered":"\n<p>At the heart of the WordPress code base sits the API responsible for it&#8217;s incredible flexibility: the Hooks API. Action and Filter hooks can be used to execute additional code or modify values at specific points in the lifecycle of a request in a safe and future proof way, preventing a number of headaches down the road.<\/p>\n\n\n<p>Come learn about this API and how to make use of it in your own projects, plugins, and themes. Your future self will thank you!<\/p>\n\n\n<div class=\"wp-block-wordcamp-session-speakers\"><span class=\"wp-block-wordcamp-session-speakers__byline\">Presented by<\/span><span class=\"wp-block-wordcamp-session-speakers__name\"><a href=\"https:\/\/rochester.wordcamp.org\/2023\/speaker\/jonathan-desrosiers\/\">Jonathan Desrosiers<\/a><\/span><\/div>","protected":false},"excerpt":{"rendered":"<p>At the heart of the WordPress code base sits the API responsible for it&#8217;s incredible flexibility: the Hooks API. Action and Filter hooks can be used to execute additional code or modify values at specific points in the lifecycle of a request in a safe and future proof way, preventing a number of headaches down &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/rochester.wordcamp.org\/2023\/session\/flexible-wordpress-how-to-use-action-and-filter-hooks\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Flexible WordPress: How to Use Action and Filter Hooks&#8221;<\/span><\/a><\/p>\n","protected":false},"author":4552240,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1696080600,"_wcpt_session_duration":2700,"_wcpt_session_type":"session","_wcpt_session_slides":"","_wcpt_session_video":"","_wcpt_speaker_id":[342],"footnotes":""},"session_track":[22],"session_category":[],"class_list":["post-343","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-track-one"],"jetpack_sharing_enabled":true,"session_date_time":{"date":"September 30, 2023","time":"9:30 am"},"session_speakers":[{"id":"342","slug":"jonathan-desrosiers","name":"Jonathan Desrosiers","link":"https:\/\/rochester.wordcamp.org\/2023\/speaker\/jonathan-desrosiers\/"}],"session_cats_rendered":null,"_links":{"self":[{"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/343","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/types\/wcb_session"}],"version-history":[{"count":1,"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/343\/revisions"}],"predecessor-version":[{"id":489,"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/sessions\/343\/revisions\/489"}],"speakers":[{"embeddable":true,"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/speakers\/342"}],"author":[{"embeddable":true,"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wporg\/v1\/users\/desrosj"}],"wp:attachment":[{"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/media?parent=343"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_track?post=343"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/rochester.wordcamp.org\/2023\/wp-json\/wp\/v2\/session_category?post=343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}