This function has been deprecated. BuddyPress 2.5.0 Not used. Was hooked to WordPress’ "wp_mail_from_name" action. Use the "bp_email_get_from" action instead.
bp_core_email_from_name_filter()
Set “From” name in outgoing email to the site name.
Description
Return
(string) The blog name for the root blog.
Source
File: bp-core/deprecated/buddypress/2.5.php
function bp_core_email_from_name_filter() { _deprecated_function( __FUNCTION__, '2.5' ); /** * Filters the "From" name in outgoing email to the site name. * * @since BuddyPress 1.2.0 * @deprecated BuddyPress 2.5.0 Not used. * * @param string $value Value to set the "From" name to. */ return apply_filters( 'bp_core_email_from_name_filter', bp_get_option( 'blogname', 'WordPress' ) ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.