WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WP_Customize_Manager::_filter_revision_post_has_changed() WP 4.7.0

Filters whether a changeset has changed to create a new revision.

Note that this will not be called while a changeset post remains in auto-draft status.

Это метод класса: WP_Customize_Manager

Хуков нет.

Возвращает

true/false. Whether a revision should be made.

Использование

$WP_Customize_Manager = new WP_Customize_Manager();
$var = $WP_Customize_Manager->_filter_revision_post_has_changed( $post_has_changed, $last_revision, $post );
$post_has_changed(true/false) (обязательный)
Whether the post has changed.
$last_revision(WP_Post) (обязательный)
The last revision post object.
$post(WP_Post) (обязательный)
The post object.

Список изменений

С версии 4.7.0 Введена.

Код WP Customize Manager:: filter revision post has changed: wp-includes/class-wp-customize-manager.php WP 5.3.2

<?php
public function _filter_revision_post_has_changed( $post_has_changed, $last_revision, $post ) {
	unset( $last_revision );
	if ( 'customize_changeset' === $post->post_type ) {
		$post_has_changed = $this->store_changeset_revision;
	}
	return $post_has_changed;
}