Save order without sending the invoice / order details woocommerce [closed]

I won’t go in code details, but I would consider two different strategies among many others:

  • using a custom query using WPDB class, based on WooCommerce queries;
  • unhook all undesired filters and actions from WordPress, WooCommerce and other plugins.

I would probably start with the second one.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)