Changeset 8137 for trunk/bp-core/bp-core-filters.php
- Timestamp:
- 03/17/2014 07:16:49 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-filters.php
r8090 r8137 250 250 function bp_core_filter_user_welcome_email( $welcome_email ) { 251 251 252 // Don't touch the email when a user is registered by the site admin 253 if ( is_admin() ) 254 return $welcome_email; 255 252 256 // Don't touch the email if we don't have a custom registration template 253 257 if ( ! bp_has_custom_signup_page() ) … … 275 279 */ 276 280 function bp_core_filter_blog_welcome_email( $welcome_email, $blog_id, $user_id, $password ) { 281 282 // Don't touch the email when a user is registered by the site admin. 283 if ( is_admin() ) 284 return $welcome_email; 277 285 278 286 // Don't touch the email if we don't have a custom registration template
Note: See TracChangeset
for help on using the changeset viewer.