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 fields to retrieve. By default, contains 'post_date' and 'post_date_gmt'.
$method string
The method name.

Top ↑

Source

File: wp-includes/class-wp-xmlrpc-server.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.