wpseek.com
A WordPress-centric search engine for devs and theme authors
add_action › WordPress Function
Since1.2.0
Deprecatedn/a
› add_action ( $hook_name, $callback, $priority = 10, $accepted_args = 1 )
Parameters: (4) |
|
Returns: |
|
Defined at: |
|
Codex: |
Adds a callback function to an action hook.
Actions are the hooks that the WordPress core launches at specific points during execution, or when specific events occur. Plugins can specify that one or more of its PHP functions are executed at these points, using the Action API.