xmlrpc_default_revision_fields WordPress Filter Hook
The xmlrpc_default_revision_fields hook allows you to filter the default list of revision fields that are returned by the XML-RPC getRevision method. This hook is useful for adding or removing fields from the revision data that is returned.
apply_filters( 'xmlrpc_default_revision_fields', array $field , string $method ) #
Filters the default revision query fields used by the given XML-RPC method.
Parameters
- $field
(array)An array of revision query fields.
- $method
(string)The method name.
Source
Changelog
Version | Description |
---|---|
3.5.0 | Introduced. |