A WordPress-centric search engine for devs and theme authors



xmlrpc_default_post_fields ›

Since3.4.0
Deprecatedn/a
apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' )
Parameters: (2)
  • (array) $fields Array of post fields. Default array contains 'post', 'terms', and 'custom_fields'.
    Required: Yes
  • (string) $method Method name.
    Required: Yes
Defined at:
Codex:

Filters the list of post query fields used by the given XML-RPC method.





Source

$fields = apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' ), 'wp.getPost' );