admin_post
Fires on an authenticated admin post request where no action is supplied.
Usage
add_action( 'admin_post', 'wp_kama_admin_post_action' ); /** * Function for `admin_post` action-hook. * * @return void */ function wp_kama_admin_post_action(){ // action... }
Changelog
Since 2.6.0 | Introduced. |
Where the hook is called
In file: /wp-admin/admin-post.php
wp-admin/admin-post.php 70
do_action( 'admin_post' );