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

In this article

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

VersionDescription
6.4.0Introduced.

User Contributed Notes

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