current_action()
Retrieves the name of the current action hook.
Хуков нет.
Возвращает
Строку. Hook name of the current action.
Использование
current_action();
Список изменений
| С версии 3.9.0 | Введена. |
Код current_action() current action WP 6.8.3
function current_action() {
return current_filter();
}