wpseek.com
A WordPress-centric search engine for devs and theme authors



xmlrpc_default_post_fields › WordPress Filter Hooks

Since3.4.0
Deprecatedn/a
apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' )
Parameters: (2)
  • () fields An array of post fields to retrieve. By default, contains 'post', 'terms', and 'custom_fields'.
    Required: Yes
  • () method Method name.
    Required: Yes
Defined at:
Codex:

Filters the default 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' );