bp_members_signup_error_message

  • apply_filters('bp_members_signup_error_message', "<div class="error">' . $error_message . '</div>" );' ) )

    Source Reference:

    • Component: BuddyPress :: bp-members
      File: /bp-members/bp-members-signup.php :: Trac Source Line: 114
      					$bp->signup->errors['signup_blog_title'] = $blog_details['errors']->errors['blog_title'][0];
      			}
      		}
      
      		do_action( 'bp_signup_validate' );
      
      		// Add any errors to the action for the field in the template for display.
      		if ( !empty( $bp->signup->errors ) ) {
      			foreach ( (array)$bp->signup->errors as $fieldname => $error_message )
      				add_action( 'bp_' . $fieldname . '_errors', create_function( '', 'echo apply_filters('bp_members_signup_error_message', "<div class="error">' . $error_message . '</div>" );' ) );
      		} else {
      			$bp->signup->step = 'save-details';
      
      			// No errors! Let's register those deets.
      			$active_signup = !empty( $bp->site_options['registration'] ) ? $bp->site_options['registration'] : '';
      
      			if ( 'none' != $active_signup ) {
      
      				// Let's compact any profile field info into usermeta
      				$profile_field_ids = explode( ',', $_POST['signup_profile_field_ids'] );
      

Comments are closed.