Changeset 5556
- Timestamp:
- 12/14/2011 08:55:00 PM (13 years ago)
- Location:
- trunk/bp-core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-filters.php
r5445 r5556 41 41 } 42 42 add_filter( 'wp_mail_from_name', 'bp_core_email_from_name_filter' ); 43 44 /**45 * bp_core_email_from_name_filter()46 *47 * Sets the "From" address in emails sent48 *49 * @package BuddyPress Core50 * @return noreply@sitedomain email address51 */52 function bp_core_email_from_address_filter() {53 $domain = (array) explode( '/', site_url() );54 55 return apply_filters( 'bp_core_email_from_address_filter', 'noreply@' . $domain[2] );56 }57 add_filter( 'wp_mail_from', 'bp_core_email_from_address_filter' );58 43 59 44 /** -
trunk/bp-core/deprecated/1.6.php
r5437 r5556 85 85 _deprecated_function( __FUNCTION__, '1.6' ); 86 86 } 87 88 /** 89 * Sets the "From" address in emails sent 90 * 91 * @deprecated 1.6 92 * @deprecated No longer used. 93 * @return noreply@sitedomain email address 94 */ 95 function bp_core_email_from_address_filter() { 96 _deprecated_function( __FUNCTION__, '1.6' ); 97 98 $domain = (array) explode( '/', site_url() ); 99 return apply_filters( 'bp_core_email_from_address_filter', 'noreply@' . $domain[2] ); 100 } 87 101 ?>
Note: See TracChangeset
for help on using the changeset viewer.