woocommerce_delete_order_refund

woocommerce_delete_order_refund

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_delete_order_refund') is found 1 times:

  • /includes/data-stores/class-wc-order-refund-data-store-cpt.php line 60
     
    		wp_delete_post( $id );
    		wp_cache_delete( $refund_cache_key, 'orders' );
    		$order->set_id( 0 );
    		do_action( 'woocommerce_delete_order_refund', $id );
    	}
    
    	/**
    	 * Read refund data. Can be overridden by child classes to load other props.
    	 *
    	 * @param WC_Order_Refund $refund Refund object.