Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to set up or change function bp_core_email_from_address_filter()

  • Avatar of kriskl
    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)
  • Avatar of Boone Gorges
    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’.

    Avatar of kriskl
    kriskl
    Participant

    @kriskl

    thank you!

    I will try it out

    Avatar of kriskl
    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)

You must be logged in to reply to this topic.