Filter hook 'xmlrpc_default_taxonomy_fields'

in WP Core File wp-includes/class-wp-xmlrpc-server.php at line 2555

Description

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

Occurrences

Filename Line Number
wp-includes/class-wp-xmlrpc-server.php 2555
wp-includes/class-wp-xmlrpc-server.php 2613

Parameters

Type Name Description
array $fields An array of taxonomy fields to retrieve. By default, contains 'labels', 'cap', and 'object_type'.
string $method The method name.

PHP Doc

/**
			 * Filters the default taxonomy query fields used by the given XML-RPC method.
			 *
			 * @since 3.4.0
			 *
			 * @param array  $fields An array of taxonomy fields to retrieve. By default,
			 *                       contains 'labels', 'cap', and 'object_type'.
			 * @param string $method The method name.
			 */