Automattic\WooCommerce\Internal\Caches

ProductVersionStringInvalidator::handle_untrashed_postpublicWC 10.5.0

Handle the untrashed_post hook.

Метод класса: ProductVersionStringInvalidator{}

Хуков нет.

Возвращает

null. Ничего (null).

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

$ProductVersionStringInvalidator = new ProductVersionStringInvalidator();
$ProductVersionStringInvalidator->handle_untrashed_post( $post_id ): void;
$post_id(int) (обязательный)
The post ID.

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

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

Код ProductVersionStringInvalidator::handle_untrashed_post() WC 10.5.2

public function handle_untrashed_post( $post_id ): void {
	$this->handle_trashed_or_untrashed_post( (int) $post_id );
}