Automattic\WooCommerce\Internal\Caches
ProductVersionStringInvalidator::handle_untrashed_post
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() 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 );
}