Retrieves the name of the current action hook.
Source
function current_action() {
return current_filter();
}
Changelog
Version | Description |
---|---|
3.9.0 | Introduced. |
CARVIEW |
Retrieves the name of the current action hook.
function current_action() {
return current_filter();
}
Uses | Description |
---|---|
current_filter()wp-includes/plugin.php | Retrieves the name of the current filter hook. |
Used by | Description |
---|---|
WP_Block_Patterns_Registry::register()wp-includes/class-wp-block-patterns-registry.php | Registers a block pattern. |
WP_Block_Pattern_Categories_Registry::register()wp-includes/class-wp-block-pattern-categories-registry.php | Registers a pattern category. |
rest_cookie_collect_status()wp-includes/rest-api.php | Collects cookie authentication status. |
switch_theme()wp-includes/theme.php | Switches the theme. |
Version | Description |
---|---|
3.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.