users_have_additional_content WordPress Filter Hook
The users_have_additional_content hook allows you to add additional content to your site for specific users. This could be used to add a custom message or announcement for certain users, or to display different content for different user roles.
apply_filters( 'users_have_additional_content', bool $users_have_additional_content , int[] $userids ) #
Filters whether the users being deleted have additional content associated with them outside of the post_author
and link_owner
relationships.
Contents
Parameters
- $users_have_additional_content
(bool)Whether the users have additional content. Default false.
- $userids
(int[])Array of IDs for users being deleted.
Source
File: wp-admin/users.php
Changelog
Version | Description |
---|---|
5.2.0 | Introduced. |