Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable the Email Template


  • maxdelange
    Participant

    @maxdelange

    Hi,

    Does anyone know how to disable the BuddyPress email templates?

    Currently the explanation was:

    Disable BP Email
    If you already have an existing HTML email template solution in place and want to completely disable BuddyPress’ email template system, add the following to wp-content/plugins/bp-custom.php:

    add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ );

    However, the link wp-content/plugins/bp-custom.php seems to be unfinished or incorrect.
    I have tried creating the file and pasting the code in, but that doesn’t work.

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

  • maxdelange
    Participant

    @maxdelange

    Update:

    I have manually created the file bp-custom.php in the directory.

    This is what the file looks like:
    <?php
    add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ );
    ?>

    However, when the “add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ );” line is active, my site states there has been a critical error.


    maxdelange
    Participant

    @maxdelange

    Update:

    I have manually created the file bp-custom.php in the directory.

    This is what the file looks like:
    <?php
    add_filter( ‘bp_email_use_wp_mail’, ‘__return_true’ );
    ?>

    The site is running fine now, but the code did not change my mail template, it’s still using
    the header and footer from BuddyPress.


    Gayatriom
    Participant

    @gayatriom

    Following this! Because I need this as well.

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