A WordPress-centric search engine for devs and theme authors



xmlrpc_default_revision_fields ›

Since3.5.0
Deprecatedn/a
apply_filters( 'xmlrpc_default_revision_fields', array( 'post_date', 'post_date_gmt' )
Parameters: (2)
  • (array) $field An array of revision query fields.
    Required: Yes
  • (string) $method The method name.
    Required: Yes
Defined at:
Codex:

Filters the default revision query fields used by the given XML-RPC method.





Source

$fields = apply_filters( 'xmlrpc_default_revision_fields', array( 'post_date', 'post_date_gmt' ), 'wp.getRevisions' );