users_have_additional_content

过滤钩子


apply_filters( 'users_have_additional_content', false, $userids )
参数
  • (bool)
    $users_have_additional_content
    Whether the users have additional content. Default false.
    Required:
  • (int[])
    $userids
    Array of IDs for users being deleted.
    Required:
定义位置
  • wp-admin/users.php
    , line 303
引入
5.2.0
弃用

过滤被删除的用户在 “post_author “和 “link_owner “关系之外是否有其他内容与之相关。

$users_have_content = (bool) apply_filters( 'users_have_additional_content', false, $userids );