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.


Top ↑

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 );
		}
	}


Top ↑

Changelog Changelog

Changelog
VersionDescription
1.3.0Introduced.

Top ↑

User Contributed Notes User Contributed Notes

30 day money back guarantee
Safe & Secure online payment
Custom CSS Slide Example
Custom Animation Example
Default Animation