apply_filters( "_wp_post_revision_field_{$field}", string $compare_from->$field, string $field, WP_Post $compare_from, string )

Contextually filter a post revision field.

Description Description

The dynamic portion of the hook name, $field, corresponds to each of the post fields of the revision object being iterated over in a foreach statement.

Parameters Parameters


(string) The current revision field to compare to or from.


(string) The current revision field.


(WP_Post) The revision post object to compare to or from.

(string) null The context of whether the current revision is the old or the new one. Values are 'to' or 'from'.

Top ↑

Source Source

File: wp-admin/includes/revision.php

View on Trac

Top ↑

Changelog Changelog

Version Description
3.6.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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