W3cubDocs

/WordPress

apply_filters( ‘wp_post_revision_meta_keys’, array $keys, string $post_type )

Filter the list of post meta keys to be revisioned.

Parameters

$keysarray
An array of meta fields to be revisioned.
$post_typestring
The post type being revisioned.

Source

return apply_filters( 'wp_post_revision_meta_keys', $wp_revisioned_meta_keys, $post_type );

Changelog

Version Description
6.4.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_post_revision_meta_keys