Skip to:
Content
Pages
Categories
Search
Top
Bottom

Remove [site_name] from activation email subject

  • Avatar of jamonmetz
    jamonmetz
    Member

    @jamonmetz

    Trying to remove the site name from the activation email. I need to know how to edit this block of code to so do (found in plugins/buddypress/bp-core/bp-core-filters.php)

    $from_name = ( ” == get_site_option( ‘site_name’ ) ) ? ‘WordPress’ : esc_html( get_site_option( ‘site_name’ ) );
    $message_headers = “MIME-Version: 1.0n” . “From: “{$from_name}” n” . “Content-Type: text/plain; charset=”” . get_option( ‘blog_charset’ ) . “”n”;
    $message = sprintf( __( “Thanks for registering! To complete the activation of your account please click the following link:nn%snn”, ‘buddypress’ ), $activate_url . $email );
    $subject = ‘ ‘ . __( ‘Activate Your Account’, ‘buddypress’ );

You must be logged in to reply to this topic.