woocommerce_removed_order_items, $this, null

woocommerce_removed_order_items, $this, null

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_removed_order_items, $this, null') is found 1 times:

  • /includes/abstracts/abstract-wc-order.php line 322
    			 * @param  string|null $type Order item type. Default null.
    			 *
    			 * @since 7.8.0
    			 */
    			do_action( 'woocommerce_removed_order_items', $this, null );
    		} elseif ( ! empty( $this->item_types_to_bulk_delete ) ) {
    			// Drain the queue one type at a time, dropping each entry only after delete_items() succeeds.
    			// If a delete or hook callback throws, save()'s catch handles it and any types that have not
    			// yet been processed remain queued for the next save() rather than being silently lost.
    			foreach ( array_values( array_unique( $this->item_types_to_bulk_delete ) ) as $type ) {
    				$this->data_store->delete_items( $this, $type );