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