Noptin_Abstract_Ecommerce_Integration::product_trashed( int $product_id )
Fired when a product is added to the trash.
Parameters Parameters
- $product_id
(int) (Required) The product id.
Source Source
File: includes/integrations/class-noptin-abstract-ecommerce-integration.php
public function product_trashed( $product_id ) { if ( $this->is_product_post_type( $product_id ) ) { $this->fire_product_hook( 'trashed', $product_id ); } }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.3.0 | Introduced. |