Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to set up or change function bp_core_email_from_address_filter()


  • kriskl
    Participant

    @kriskl

    How to change the default email address, the notifications are sent from??

    We cannot find it anywhere :(

    kind regards

    Kris

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

  • Boone Gorges
    Keymaster

    @boonebgorges

    Like so:

    function kriski_custom_from_address( $address ) {
    return 'kriski';
    }
    add_filter( 'bp_core_email_from_address_filter', 'kriski_custom_from_address' );

    That should turn the from address to ‘kriski@yourdomain.com’.


    kriskl
    Participant

    @kriskl

    thank you!

    I will try it out


    kriskl
    Participant

    @kriskl

    it worked, thank you!

    just for reference it was in this file; bp-core-filters.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to set up or change function bp_core_email_from_address_filter()’ is closed to new replies.
Skip to toolbar