remove_all_actions() WP 2.7.0
Remove all of the hooks from an action.
Хуков нет.
Возвращает
true. True when finished.
Использование
remove_all_actions( $tag, $priority );
- $tag(строка) (обязательный)
- The action to remove hooks from.
- $priority(число/true/false)
- The priority number to remove them from.
По умолчанию: false
Список изменений
С версии 2.7.0 | Введена. |
Код remove_all_actions() remove all actions WP 5.6.2
function remove_all_actions( $tag, $priority = false ) {
return remove_all_filters( $tag, $priority );
}