admin_post_nopriv
Fires on a non-authenticated admin post request where no action is supplied.
Usage
add_action( 'admin_post_nopriv', 'wp_kama_admin_post_nopriv_action' ); /** * Function for `admin_post_nopriv` action-hook. * * @return void */ function wp_kama_admin_post_nopriv_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 46
do_action( 'admin_post_nopriv' );