wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_post_revision_meta_keys › WordPress Filter Hooks

Since6.4.0
Deprecatedn/a
apply_filters( 'wp_post_revision_meta_keys', $wp_revisioned_meta_keys, $post_type )
Parameters: (2)
  • (array) $keys An array of meta fields to be revisioned.
    Required: Yes
  • (string) $post_type The post type being revisioned.
    Required: Yes
Defined at:
Codex:

Filter the list of post meta keys to be revisioned.





Source

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