wp_check_revisioned_meta_fields_have_changed( bool $post_has_changed, WP_Post $last_revision, WP_Post $post ): bool

In this article

Check whether revisioned post meta fields have changed.

Parameters

$post_has_changedboolrequired
Whether the post has changed.
$last_revisionWP_Postrequired
The last revision post object.
$postWP_Postrequired
The post object.

Return

bool Whether the post has changed.

Source

}

/**
 * Deletes a revision.
 *
 * Deletes the row from the posts table corresponding to the specified revision.
 *
 * @since 2.6.0
 *

Changelog

VersionDescription
6.4.0Introduced.

User Contributed Notes

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