woocommerce_pre_delete_$this->object_type
woocommerce_pre_delete_$this->object_type
Appears in: woocommerce.8.1.1, woocommerce.8.2.1, woocommerce.8.2.2, woocommerce.8.3.1, woocommerce.8.4.0, woocommerce.8.5.1, woocommerce.8.5.2, woocommerce.8.6.0, woocommerce.8.6.1, woocommerce.8.7.0, woocommerce.8.8.3, woocommerce.8.9.2, woocommerce.8.9.3, woocommerce.9.0.2, woocommerce.9.1.2, woocommerce.9.1.4, woocommerce.9.2.2, woocommerce.9.2.3
Hook Type: filter
Displaying hooks found in version: woocommerce.9.2.3apply_filters('woocommerce_pre_delete_$this->object_type') is found 1 times:
- /includes/abstracts/abstract-wc-data.php line 207
* @param bool $force_delete Whether to bypass the trash. * * @since 8.1.0. */ $check = apply_filters( "woocommerce_pre_delete_$this->object_type", null, $this, $force_delete ); if ( null !== $check ) { return $check; } if ( $this->data_store ) { $this->data_store->delete( $this, array( 'force_delete' => $force_delete ) ); $this->set_id( 0 );