admin_post_{$action}

动作钩子


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

Fires on an 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_{$action}" );