Support » Plugin: Webba Booking » Create WP Users on Backend?

  • Resolved symbi0tic

    (@symbi0tic)


    Hello, I’m trying to the WP Users system as a baseline to integrate with other plugins I have. I created an appointment as a test to see if adding a customer would create a ‘customer record’ and that would then be saved in the WP Users system, but to no avail. I think that the plugin might not actually save customers as seperate entities like in their own database that then can be reused for new appointments, orders, etc. but I could be wrong. I was wondering if there was a way I could make it where creating a new appointment would create a User on the backend.

    I have CF7 integrated with Webba Booking, and when a person fills out and submits that form on the frontend it will create a WP User. However, I receive a phone call and try to create a Webba Booking Appointment on the backend it doesn’t save the user information in the WP Users system because I’m not using CF7 at this point.

    If it was possible to do this I’d think it would be really cool because I’d prefer to use that Appointments page when people call me rather than trying to enter it from the frontend. But if I need to I will just fill out the form on the frontend for people when they call me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebbaPlugins

    (@webba-agency)

    Hello,

    Thank you for reaching out. Unfortunately, in the current version of Webba there is no option to create WP users when the appointment is booked. This can be implemented by adding a custom hook PHP hook:

    function my_wbk_add_appointment( $input ) {  
    // var_dump $input to see the data related to booking
      
    }
    add_action( 'wbk_add_appointment',  'my_wbk_add_appointment' );

    If you need help with this, please contact us by support@webba-booking.com

    Cool, I’ll try it out and let you know how it goes. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.