client form hook/filter

Posted · Add Comment

Scheduler Forums BirchPress Scheduler client form hook/filter

This topic contains 3 replies, has 3 voices, and was last updated by  Luke 7 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23083

    Matt Williamson
    Participant

    Is there a hook I can use to add fields to the new/edit client form?

    I would like to add a checkbox do the bottom of the form. I understand I will likely have to store the checkbox state in the database myself.

    Thanks for you help!

    #23095

    Jennifer
    Keymaster

    Hi Matt,

    Business edition supports adding custom fields. Which edition are you using?

    #23103

    Matt Williamson
    Participant

    Jennifer, thank you for your reply. I am using the Business Plus edition.

    I’m familiar with the form editor and how to add custom fields.

    I am writing a plugin which programmatically adds content to the bottom of the client form.

    #23197

    Luke
    Keymaster

    Hi Matt,

    You can use the birchschedule_view_bookingform_get_fields_html action hook and choose the priority of 30. The code is like the following.

    
    add_filter( 'birchschedule_view_bookingform_get_fields_html', 'YOUR_FUNCTION', 30);
    
Viewing 4 posts - 1 through 4 (of 4 total)

The forum ‘BirchPress Scheduler’ is closed to new topics and replies.

Comments are closed.