7. What’s a Hook?
• Specific points in the WordPress code used
to interact with WordPress
• Two types of hooks; Actions and Filters
• 1300+ hooks in WordPress 3.0
List of hooks: http://h.awins.com/wp-hooks
Friday, August 27, 2010
8. Action Hooks
• Tell WordPress to perform a function at a
specific point
Friday, August 27, 2010
9. Filter Hooks
• Passes data to your function
• Your function can modify the data and send
it back to WordPress
Friday, August 27, 2010
11. What will it do?
• Create a shortcode
• Display info for an upcoming event in a
page or post
• Create an admin panel to update event info
Friday, August 27, 2010
12. The Plugins Folder
• Single files go directly in
the plugin folder
• Multiple files go in their
own folder
• WordPress only looks
one folder deep
Friday, August 27, 2010
13. The Plugins Folder
• Single files go directly in
the plugin folder
• Multiple files go in their
own folder
• WordPress only looks
one folder deep
Friday, August 27, 2010
24. Resources
• http://codex.wordpress.org
• http://h.awkins.com/wc-utah
Friday, August 27, 2010
25. Thank You!
I am: John Hawkins
I email: john@vegasgeek.com
I tweet: @VegasGeek
I blog: JohnHawkinsUnrated.com
I work: 9seeds.com
Friday, August 27, 2010