bp_core_email_from_name_filter

Set "From" name in outgoing email to the site name.

Description

(string) bp_core_email_from_name_filter(); 

Returns (string)

The blog name for the root blog.


Usage

  1. if ( !function_exists( 'bp_core_email_from_name_filter' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-core/deprecated/2.5.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_core_email_from_name_filter(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/bp-core/deprecated/2.5.php  
  1. function bp_core_email_from_name_filter() { 
  2. _deprecated_function( __FUNCTION__, '2.5' ); 
  3.  
  4. /** 
  5. * Filters the "From" name in outgoing email to the site name. 
  6. * @since 1.2.0 
  7. * @deprecated 2.5.0 Not used. 
  8. * @param string $value Value to set the "From" name to. 
  9. */ 
  10. return apply_filters( 'bp_core_email_from_name_filter', bp_get_option( 'blogname', 'WordPress' ) );