Support » Plugin: WooCommerce » $order->set_status() vs. $order->update_status()

  • Hi, please can someone explain me (or show me where to find documentation about this) the difference between:

    
    $order->set_status( 'on-hold' );
    

    and

    
    $order->update_status( 'on-hold' );
    

    ???
    Thank you

  • The topic ‘$order->set_status() vs. $order->update_status()’ is closed to new replies.