• Resolved sirjohnsteed

    (@sirjohnsteed)


    Hello there,

    is there a way to hook into the plugin to add some functionality to send a copy of the email to a custom recipient?

    We have created a dynamic, database driven list of hotels, restaurants and private hosts, that is displayed in WordPress via shortcode functionality. We would like to use this fine booking tool, but with a (additional) generic email address from our database, so the person responsible for the entry would receive the booking email directly. The host entry ID could be passed via GET parameter for example, the email would be fetched from the database via PHP, if necessary we could maybe trigger some Javascript.

    Are there any hooks for the plugin to achieve this? So far I have only found the ‘wpbc_track_new_booking’ hook, but could not get it to trigger.

    Thank you in advance. Best regards,

    Oliver, mediakitchen

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

    (@wpdevelop)

    Hello.
    Unfortunately, there is no such hook in the plugin.
    The functiona that is senidng email about the new booking to the admin, you can find here:
    function wpbc_send_email_new_admin( $booking_id, $bktype, $formdata ) {
    inside of this file ../booking\core\admin\page-email-new-admin.php

    Disclaimer. Unfortunately we can not start, right now, some personal customization or custom development, because almost have no free time.
    Check more about, what support we are providing here https://wpbookingcalendar.com/faq/what-support-do-you-provide/
    Thank you for understanding.
    Please note, if you will modify the source code of the Booking Calendar, we will not guaranteed the correct work of plugin and do not support it.

    Thread Starter sirjohnsteed

    (@sirjohnsteed)

    Ok, thank you. That is really helpful. Quickest solution will be to ‘hack’, i.e. extend that function. And not update the plugin ever again then.

    Best regards,

    Oliver, mediakitchen

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Email (copy) to custom recipient?’ is closed to new replies.