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.


Parameters

$users_have_additional_content

(bool)Whether the users have additional content. Default false.

$userids

(int[])Array of IDs for users being deleted.


Top ↑

Source

File: wp-admin/users.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
5.2.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.