admin_action_{$_REQUEST[‘action’]} WordPress Action Hook
The admin_action_{$_REQUEST['action']} hook is triggered when an administrator takes an action on the back end of a WordPress site. This hook can be used to perform an action when a specific administrator action is taken.
do_action( "admin_action_{$_REQUEST['action']}" ) #
Fires when an ‘action’ request variable is sent.
Contents
Description
The dynamic portion of the hook name, $_REQUEST['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. |