wpseek.com
Uma área de pesquisa sobre o WordPress para devs e autores do tema
has_filter › WordPress Function
Desde2.5.0
Obsoleton/a
› has_filter ( $hook_name, $callback = false )
Parâmetros: (2) |
|
Retorna: |
|
Definido em: |
|
Codex: |
Checks if any filter has been registered for a hook.
When using the$callback
argument, this function may return a non-boolean value
that evaluates to false (e.g. 0), so use the ===
operator for testing the return value.