WordPress函数文档confirm_delete_users()
批量删除用户 描述 Used to display a confirmation on the Multisi…
批量删除用户
描述
Used to display a confirmation on the Multisite Users administration panel before deleting users.
用法
<?php confirm_delete_users( $users ); ?>
参数
$users
(array) (必填) An array of IDs of users to delete. Note that this parameter is currently not used by the function. $_POST[‘allusers’] is used instead. See ticket 17905.
默认值: None
示例
1
2
3
4
|
/* ———————————-
* wordpress函数 kim收集
* ———————————- */
<?php confirm_delete_users( array( 1, 3, 45, 7, 378, ) ); ?>
|
注意
- Although the $users parameter is not currently used by the function, it is still necessary to pass an array, or else the function will return false.
历史
- 添加于 版本 3.0.0
- 原文:http://codex.wordpress.org/Function_Reference/confirm_delete_users
类别:WordPress函数文档、
本文收集自互联网,转载请注明来源。
如有侵权,请联系 wper_net@163.com 删除。
评论功能已经关闭!