restrict_manage_users

動作鉤子
do_action( 'restrict_manage_users', $which )
引數
  • (string) $which The location of the extra table nav markup: 'top' or 'bottom'.
    Required:
定義位置
相關勾子
restrict_manage_sitesrestrict_manage_postsrestrict_manage_commentsrest_insert_userrest_prepare_user
相關方法
rest_get_serverget_page_statusescount_many_users_postsuser_can_edit_usercreate_usercache_users
引入
4.6.0
棄用
-

restrict_manage_users: 這是一個動作鉤子,當管理使用者螢幕顯示在WordPress儀表盤上時被觸發。它可以用來為管理使用者螢幕新增額外的控制或自定義功能。

在包含使用者列表表中的批量角色轉換控制元件的關閉div之前觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'restrict_manage_users', $which );
do_action( 'restrict_manage_users', $which );
do_action( 'restrict_manage_users', $which );

常見問題

FAQs
檢視更多 >