bp_core_signup_send_validation_email_subject

  • apply_filters( 'bp_core_signup_send_validation_email_subject', $subject,    $user_id                )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-signup.php :: Trac Source Line: 577
      	$activate_url = esc_url( $activate_url );
      
      	$from_name = ( '' == get_option( 'blogname' ) ) ? __( 'BuddyPress', 'buddypress' ) : esc_html( get_option( 'blogname' ) );
      
      	$message = sprintf( __( "Thanks for registering! To complete the activation of your account please click the following link:nn%snn", 'buddypress' ), $activate_url );
      	$subject = '[' . $from_name . '] ' . __( 'Activate Your Account', 'buddypress' );
      
      	// Send the message
      	$to      = apply_filters( 'bp_core_signup_send_validation_email_to',     $user_email, $user_id                );
      	$subject = apply_filters( 'bp_core_signup_send_validation_email_subject', $subject,    $user_id                );
      	$message = apply_filters( 'bp_core_signup_send_validation_email_message', $message,    $user_id, $activate_url );
      
      	wp_mail( $to, $subject, $message );
      
      	do_action( 'bp_core_sent_user_validation_email', $subject, $message, $user_id, $user_email, $key );
      }
      
      // Stop user accounts logging in that have not been activated (user_status = 2)
      function bp_core_signup_disable_inactive( $auth_obj, $username ) {
      	global $bp, $wpdb;
      

Comments are closed.