WordPress Version: 5.8
/**
* Retrieves the name of the current action hook.
*
* @since 3.9.0
*
* @return string Hook name of the current action.
*/
function current_action()
{
return current_filter();
}
The timeline below displays how wordpress function current_action has changed across different WordPress versions. If a version is not listed, refer to the next available version below.
/**
* Retrieves the name of the current action hook.
*
* @since 3.9.0
*
* @return string Hook name of the current action.
*/
function current_action()
{
return current_filter();
}
/**
* Retrieve the name of the current action.
*
* @since 3.9.0
*
* @return string Hook name of the current action.
*/
function current_action()
{
return current_filter();
}
/**
* Retrieve the name of the current action.
*
* @since 3.9.0
*
* @uses current_filter()
*
* @return string Hook name of the current action.
*/
function current_action()
{
return current_filter();
}