WordPress at a glance
filter is not described

xmlrpc_default_user_fields filter-hook . WP 3.5.0

Filters the default user query fields used by the given XML-RPC method.

Usage

add_filter( 'xmlrpc_default_user_fields', 'filter_function_name_3788', 10, 2 );
function filter_function_name_3788( $fields, $method ){
	// filter...

	return $fields;
}
$fields(array)
User query fields for given method.
Default: 'all'
$method(string)
The method name.

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

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

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

wp_xmlrpc_server::wp_getUser()
xmlrpc_default_user_fields
wp_xmlrpc_server::wp_getUsers()
xmlrpc_default_user_fields
wp_xmlrpc_server::wp_getProfile()
xmlrpc_default_user_fields
wp-includes/class-wp-xmlrpc-server.php 2638
$fields = apply_filters( 'xmlrpc_default_user_fields', array( 'all' ), 'wp.getUser' );
wp-includes/class-wp-xmlrpc-server.php 2701
$fields = apply_filters( 'xmlrpc_default_user_fields', array( 'all' ), 'wp.getUsers' );
wp-includes/class-wp-xmlrpc-server.php 2781
$fields = apply_filters( 'xmlrpc_default_user_fields', array( 'all' ), 'wp.getProfile' );

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

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