current_action() – Retrieve the name of the current action.

You appear to be a bot. Output may be restricted

Description

Retrieves the name of the current action hook.

Usage

$string = current_action();

Parameters

Returns

string Hook name of the current action.

Source

File name: wordpress/wp-includes/plugin.php
Lines:

1 to 3 of 3
function current_action() {
  return current_filter();
}
 

 View on GitHub View on Trac