{"id":2742,"date":"2018-02-14T03:52:32","date_gmt":"2018-02-14T03:52:32","guid":{"rendered":"https:\/\/2018.miami.wordcamp.org\/?post_type=wcb_session&#038;p=2742"},"modified":"2018-03-17T14:22:01","modified_gmt":"2018-03-17T18:22:01","slug":"basics-of-php-action-filter-hooks","status":"publish","type":"wcb_session","link":"https:\/\/miami.wordcamp.org\/2018\/session\/basics-of-php-action-filter-hooks\/","title":{"rendered":"Basics of PHP: Action &amp; Filter Hooks"},"content":{"rendered":"<p>You don&#8217;t need to be an established developer &#8211; this is an Intro talk into PHP. Hooks are a great way to see immediate advantage of learning and using custom PHP.<\/p>\n<p>Hooks are one of two things:<\/p>\n<p>Action Functions (add, edit or remove functionality)<br \/>\nFilter Functions (modify output)<\/p>\n<p>Both of these are native to WordPress Core and are also created by Plugin developers to help you &#8211; a fellow developer &#8211; out. Learn how to use these powerful tools to your own advantage for customization and getting the results you want.<\/p>\n<p>This is a Lightning Talk so it will be limited to the core concept itself and you will see up to three practical examples of an action and filter respectively.<br \/>\nYou will walk away with the knowledge of how to find these hooks within a plugin or WordPress core and have the confidence to experiment with these.<\/p>\n<p><strong>Bonus: After the lightning talk feel free to discuss this further in the Happiness Bar with the presenter. <a href=\"https:\/\/docs.google.com\/document\/d\/1wTerLTjnz05gyat3oOkx9DYgyKPfpLiNt8oMBZJGx68\/edit?usp=drivesdk\" target=\"_blank\" rel=\"noopener\">This document<\/a> also has more information\u00a0 to help you dig deeper into Hooks for WordPress.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You don&#8217;t need to be an established developer &#8211; this is an Intro talk into PHP. Hooks are a great way to see immediate advantage of learning and using custom PHP. Hooks are one of two things: Action Functions (add, edit or remove functionality) Filter Functions (modify output) Both of these are native to WordPress &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/miami.wordcamp.org\/2018\/session\/basics-of-php-action-filter-hooks\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Basics of PHP: Action &amp; Filter Hooks&#8221;<\/span><\/a><\/p>\n","protected":false},"author":23114,"featured_media":0,"template":"","meta":{"jetpack_post_was_ever_published":false,"_wcpt_session_time":1521308400,"_wcpt_session_duration":3000,"_wcpt_session_type":"session","_wcpt_session_slides":"https:\/\/docs.google.com\/presentation\/d\/1aGQF4nu0SuWkIOOX3YEdzksd70SjAYrk0J3UPW0wUTM\/edit?usp=sharing","_wcpt_session_video":"","_wcpt_speaker_id":[2740],"footnotes":""},"session_track":[5041],"session_category":[266263],"class_list":["post-2742","wcb_session","type-wcb_session","status-publish","hentry","wcb_track-developer","wcb_session_category-lightning"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9i5nN-Ie","session_date_time":{"date":"March 17, 2018","time":"1:40 pm"},"session_speakers":[{"id":"2740","slug":"andreas-lopez","name":"Andreas Lopez","link":"https:\/\/miami.wordcamp.org\/2018\/speaker\/andreas-lopez\/"}],"session_cats_rendered":"Lightning","_links":{"self":[{"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/2742","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions"}],"about":[{"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/types\/wcb_session"}],"author":[{"embeddable":true,"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/users\/23114"}],"version-history":[{"count":6,"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/2742\/revisions"}],"predecessor-version":[{"id":5165,"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/sessions\/2742\/revisions\/5165"}],"speakers":[{"embeddable":true,"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/speakers\/2740"}],"wp:attachment":[{"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/media?parent=2742"}],"wp:term":[{"taxonomy":"wcb_track","embeddable":true,"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_track?post=2742"},{"taxonomy":"wcb_session_category","embeddable":true,"href":"https:\/\/miami.wordcamp.org\/2018\/wp-json\/wp\/v2\/session_category?post=2742"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}