Filter hook 'xmlrpc_default_posttype_fields'
in WP Core File wp-includes/class-wp-xmlrpc-server.php at line 4564
Description
Filters the default post type query fields used by the given XML-RPC method.
Occurrences
Filename |
Line Number |
wp-includes/class-wp-xmlrpc-server.php |
4564 |
wp-includes/class-wp-xmlrpc-server.php |
4621 |
Parameters
Type |
Name |
Description |
array |
$fields |
An array of post type fields to retrieve. By default, contains 'labels', 'cap', and 'taxonomies'. |
string |
$method |
The method name. |
PHP Doc
/**
* Filters the default post type query fields used by the given XML-RPC method.
*
* @since 3.4.0
*
* @param array $fields An array of post type fields to retrieve. By default,
* contains 'labels', 'cap', and 'taxonomies'.
* @param string $method The method name.
*/