admin_post_nopriv_{$action}

动作钩子


do_action( "admin_post_nopriv_{$action}" )
定义位置
  • wp-admin/admin-post.php
    , line 61
引入
2.6.0
弃用

Fires on a non-authenticated admin post request for the given action.

The dynamic portion of the hook name, $action, refers to the given
request action.

do_action( "admin_post_nopriv_{$action}" );