Skip to:
Content
Pages
Categories
Search
Top
Bottom

use bp_core_email_from_address_filter

  • Profile photo of Arturo
    Arturo
    Participant

    @arturo84

    i want to use this filter “bp_core_email_from_address_filter” to set a different email address, but i don’t know how… is possible have a help? thanks!

Viewing 1 replies (of 1 total)
  • Profile photo of Matt Wiebe
    Matt Wiebe
    Participant

    @mattwiebe

    Arturo: to use filters you need to setup 2 things. 1) a filter function and 2) add the filter.

    function my_from_address($email) {
    return 'my_email@mydomain.com';
    }
    add_filter('bp_core_email_from_address_filter', 'my_from_address');

Viewing 1 replies (of 1 total)
  • The topic ‘use bp_core_email_from_address_filter’ is closed to new replies.