Filtry a akce
Z Znalosti
Základní odkaz do wordpress.org:
Obecně o 'hooks':
- WordPress Essentials: The Definitive Guide To WordPress Hooks - In this article, I would like to dispel some of the confusion around hooks, because not only are they the way to code in WordPress, but they also teach us a great design pattern for development in general.
- Writing Extensible Plugins With Actions and Filters - The presence of action hooks and filters make the plugin "extensible", meaning that other plugins and themes can manipulate or add onto the behavior of the plugin.
Databáze funkcí a hooků pro WP
Poučné články:
- WordPress do_action function assistance
- The Difference between do_action, add_action and add_filter
- A Quick (and in-Depth) Guide to WordPress Hooks (velmi dobré!)
- Understanding WordPress Hooks: Knowing What to Use Where (navazuje na předchozí)
- Understanding and Using the WordPress Hook System - příbuzný článek na stejném webu
Seriál na Tuts+:
50 Filters of WordPress - In this series, we're going to learn about filters - one of the best ways we can extend WordPress.
- An Introduction to Filters
- The First 10 Filters
- Filters 11 - 20
- Filters 21 - 30
- Filters 31 - 40
- Filters 41 - 50
Seriál na Tuts+:
Fifty Actions of WordPress - In this series, we're going to go through actions, one of the two kinds of WordPress hooks. Over the course of the series, we'll cover almost everything there is to know about actions.