wpseek.com
A WordPress-centric search engine for devs and theme authors
rest_prepare_revision › WordPress Filter Hooks
Since4.7.0
Deprecatedn/a
› apply_filters( 'rest_prepare_revision', $response, $post, $request )
Parameters: (3) |
|
Defined at: | |
Codex: |
Filters a revision returned from the REST API.
Allows modification of the revision right before it is returned.
Related Functions: wp_prepare_revisions_for_js, wp_restore_post_revision, rest_ensure_response, wp_restore_post_revision_meta, wp_get_post_revision, wp_get_post_revisions