apply_filters( 'xmlrpc_default_post_fields', array $fields , string $method )
Filters the default post query fields used by the given XML-RPC method.
Parameters
-
$fields
array -
An array of post fields to retrieve. By default, contains
'post'
,'terms'
, and'custom_fields'
. -
$method
string -
Method name.
Source
File: wp-includes/class-wp-xmlrpc-server.php
.
View all references
$fields = apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' ), 'wp.getPost' );
Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |