| | 58 | /** |
| | 59 | * Contextually filter a post revision field. |
| | 60 | * |
| | 61 | * The $field at the end of the filter hook corresponds to each of the post |
| | 62 | * fields of the revision object being iterated over in a foreach statement. |
| | 63 | * The dynamic filter hook name means all revision post field are filterable |
| | 64 | * via this hook in this context. |
| | 65 | * |
| | 66 | * @since 3.6.0 |
| | 67 | * |
| | 68 | * @param string $compare_from->$field The current revision field to compare to or from. |
| | 69 | * @param string $field The current revision field. |
| | 70 | * @param WP_Post $compare_from The revision post object to compare to or from. |
| | 71 | * @param string null The context of whether the current revision is the old or the new one. Values are 'to' or 'from'. |
| | 72 | */ |