• Resolved siddheshsj

    (@siddheshsj)


    Hi,

    Thank you for the wonderful plugin. I’m thinking to purchase the premium of this. But before that i need to know if you can help with hook that i can use once user submits an appointment.

    Any help much appreciated,

    Thanks,
    Siddhesh

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author codepeople

    (@codepeople)

    Hi,

    The hook you are looking for intercepting the info before storing the appointment is the following:

    add_action( 'cpappb_process_data_before_insert', 'my_function_appointment_booking', 10, 1 );
    
    function my_function_appointment_booking($params)
    {
        // ... 
    }

    The parameter $params contains an associative array with the selected date-time and form data.

    Thank you for your interest in the plugin!

    Thread Starter siddheshsj

    (@siddheshsj)

    Thank you for above. I also need to know if those calendars can be made available for edit, based on user who logged in to system and role of that user ?

    In other words, can I assign each user for each calendar and they can edit it ?

    Thanks

    • This reply was modified 4 years, 11 months ago by siddheshsj.
    Plugin Author codepeople

    (@codepeople)

    Hi,

    Yes, see the related setting in the following image:

    https://apphourbooking.dwbooster.com/images/articles/giving-access-to-users.png

    Thank you.

    Thread Starter siddheshsj

    (@siddheshsj)

    Thanks for above. Yeah i had seen that but sorry i dint put it right. So basically i want to automate a process where once i add user to site , i want to create default calender and assign it to user rather than creating calender from admin and than assign it to user.

    In other words, as soon as i create user, calender should be automatically created and assign to that person. So is there any hook which i can call wherein once admin add user with particular role , that hook will auto generate calender and frontend page.

    Do let me know your thoughts on this.
    Thanks

    Plugin Author codepeople

    (@codepeople)

    Hi,

    That requires a bit more of code. That is currently a commercial feature: https://apphourbooking.dwbooster.com/documentation#usercreation-addon

    We’d like to help but we can’t reply about that in this forum. We are not allowed to support any customers in these forums.

    For pro or commercial product support please contact us directly on our site. This includes any pre-sales topics as well.

    Commercial products are not supported in these forums. We will happily answer this and any other questions you can have on our own site.

    Thank you.

    Thread Starter siddheshsj

    (@siddheshsj)

    Ohh i see what is the price of same? I would love to buy it

    Thread Starter siddheshsj

    (@siddheshsj)

    I have purchased it. Last thing i want to know is how can i disable email module as i dont need it

    Plugin Author codepeople

    (@codepeople)

    To disable the emails go to the following section:

    https://apphourbooking.dwbooster.com/customdownloads/email-settings.png

    To disable the email to customer select “No” in the settings field “Send confirmation/thank you message to user?” and leave the “destination email” empty to remove also the email notification to the customer.

    For pro or commercial product support please contact us directly on our site. We will happily answer this and any other questions you can have on our own site.

    Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Hooks and filters on booking submission’ is closed to new replies.