wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
add_action › WordPress Function
Desde1.2.0
Obsoleton/a
› add_action ( $hook_name, $callback, $priority = 10, $accepted_args = 1 )
Parâmetros: (4) |
|
Retorna: |
|
Definido em: |
|
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.