WordPress at a glance
filter is not described

autocomplete_users_for_site_admins filter-hook . WP 3.4.0

Filters whether to enable user auto-complete for non-super admins in Multisite.

Usage

add_filter( 'autocomplete_users_for_site_admins', 'filter_function_name_5415' );
function filter_function_name_5415( $enable ){
	// filter...

	return $enable;
}
$enable(true/false)
Whether to enable auto-complete for non-super admins.
Default: false

Список изменений

С версии 3.4.0 Введена.

Где вызывается хук

В файле: /wp-admin/user-new.php
autocomplete_users_for_site_admins
wp-admin/user-new.php 283
&& ( current_user_can( 'manage_network_users' ) || apply_filters( 'autocomplete_users_for_site_admins', false ) )
wp-admin/includes/ajax-actions.php 269
if ( ! current_user_can( 'manage_network_users' ) && ! apply_filters( 'autocomplete_users_for_site_admins', false ) ) {

Где используется хук в ядре WP

Использование не найдено.