- edited description
Option to auto-confirm appointments created in admin
Issue #676
resolved
Comments (2)
-
reporter -
- changed status to resolved
They can use this code snippet:
add_filter( 'woocommerce_appointments_create_appointment_args', 'create_new_admin_appointment_status', 10, 2 ); function create_new_admin_appointment_status( $arguments, $new_appointment_data ) { $arguments['status'] = 'confirmed'; return $arguments; }
- Log in to comment