WooCommerce автоматическая смена статуса заказа
09.08.2015
В functions.php добавляем
add_filter ('woocommerce_payment_complete_order_status', 'my_change_status_function');
function my_change_status_function ($order_id) {
$order = new WC_Order($order_id);
return 'completed';
}
#WordPress
