woocommerce_remove_order_items, $this, $type
woocommerce_remove_order_items, $this, $type
Appears in: woocommerce.11.0.0
Hook Type: action
Displaying hooks found in version: woocommerce.11.0.0do_action('woocommerce_remove_order_items, $this, $type') is found 1 times:
- /includes/abstracts/abstract-wc-order.php line 974
* @param string|null $type Order item type. Default null. * * @since 7.8.0 */ do_action( 'woocommerce_remove_order_items', $this, $type ); // Unsaved orders (id 0) have no persisted items — there's nothing to defer for deletion. $has_persisted_items = $this->get_id() > 0; if ( ! empty( $type ) ) { if ( $has_persisted_items ) {