autocomplete_users_for_site_admins WordPress Filter Hook
This hook is called when a user is attempting to autocomplete a list of users for site admins. It is used to determine which users should be included in the autocomplete list.
apply_filters( 'autocomplete_users_for_site_admins', bool $enable ) #
Filters whether to enable user auto-complete for non-super admins in Multisite.
Parameters
- $enable
(bool)Whether to enable auto-complete for non-super admins. Default false.
Source
File: wp-admin/user-new.php
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |