admin_action_{$action} WordPress Action Hook
The admin_action_{$action} hook is triggered when an administrator takes an action on the site. This hook can be used to perform an action when an administrator updates a post, deletes a comment, or any other action taken on the site.
do_action( "admin_action_{$action}" ) #
Fires when an ‘action’ request variable is sent.
Contents
Description
The dynamic portion of the hook name, $action
, refers to the action derived from the GET
or POST
request.
Source
File: wp-admin/admin.php
Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |