current_action()WP 3.9.0

Retrieves the name of the current action hook.

Хуков нет.

Возвращает

Строку. Hook name of the current action.

Использование

current_action();

Список изменений

С версии 3.9.0 Введена.

Код current_action() WP 6.5.2

function current_action() {
	return current_filter();
}