wp_post_revision_meta_keys

wp_post_revision_meta_keys

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('wp_post_revision_meta_keys') is found 1 times:

  • /wp-includes/revision.php line 592
    	 *
    	 * @param array  $keys      An array of meta fields to be revisioned.
    	 * @param string $post_type The post type being revisioned.
    	 */
    	return apply_filters( 'wp_post_revision_meta_keys', $wp_revisioned_meta_keys, $post_type );
    }
    
    /**
     * Check whether revisioned post meta fields have changed.
     *
     * @since 6.4.0
    

See this hook used in plugins: