Automattic\WooCommerce\Internal\Caches
ProductVersionStringInvalidator::handle_untrashed_post
Handle the untrashed_post hook.
Method of the class: ProductVersionStringInvalidator{}
No Hooks.
Returns
null. Nothing (null).
Usage
$ProductVersionStringInvalidator = new ProductVersionStringInvalidator(); $ProductVersionStringInvalidator->handle_untrashed_post( $post_id ): void;
- $post_id(int) (required)
- The post ID.
Changelog
| Since 10.5.0 | Introduced. |
ProductVersionStringInvalidator::handle_untrashed_post() ProductVersionStringInvalidator::handle untrashed post code WC 10.7.0
public function handle_untrashed_post( $post_id ): void {
$this->handle_trashed_or_untrashed_post( (int) $post_id );
}