Disable ticket email

Home Forums Ticket Products Event Tickets Plus Disable ticket email

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1163857
    F. Schmitz
    Participant

    Hi,

    I have tried your snippet from the knowledge base, but it is not disabling the ticket mails:

    /* Disable tickets emails for Woo */
    add_filter( ‘wootickets-tickets-email-enabled’, ‘__return_false’ );

    /* Remove the message ‘You’ll receive your tickets in another email’ from the Woo Order email */
    add_filter( ‘wootickets_email_message’, ‘__return_empty_string’ );

    Please advice!

    #1163866
    F. Schmitz
    Participant

    I also tried:

    /*
    * Events Tickets Plus – WooCommerce Tickets – Prevent Ticket Email from being sent.
    * @ Version 4.0
    */
    add_action( ‘init’, ‘wootickets_stop_sending_email’ );
    function wootickets_stop_sending_email() {
    if ( class_exists( ‘Tribe__Tickets_Plus__Commerce__WooCommerce__Main’ ) ) {
    $woo = Tribe__Tickets_Plus__Commerce__WooCommerce__Main::get_instance();
    remove_filter( ‘woocommerce_email_classes’, array( $woo, ‘add_email_class_to_woocommerce’ ) );
    add_action( ‘woocommerce_email_after_order_table’, array( $woo, ‘add_tickets_msg_to_email’ ) );
    }
    }

    But no success with that snippet either 🙁

    #1164277
    Hunter
    Moderator

    Hi and welcome 🙂

    Can you try the following snippet? Let me know if it works and if not, we’ll keep on investigating possibilities. Have a great evening and thanks for choosing PRO. Cheers!

    add_filter( 'tribe_rsvp_email_recipient', '__return_empty_array' );

    #1173296
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Disable ticket email’ is closed to new replies.