bp_core_general_settings_before_submit

  • do_action( 'bp_core_general_settings_before_submit' )

    Source Reference:

    • 					<input type="password" name="pwd" id="pwd" size="16" value="" class="settings-input small" /> &nbsp;<a href="<?php echo site_url( add_query_arg( array( 'action' => 'lostpassword' ), 'wp-login.php' ), 'login' ); ?>" title="<?php _e( 'Password Lost and Found', 'buddypress' ); ?>"><?php _e( 'Lost your password?', 'buddypress' ); ?></a>
      
      					<label for="email"><?php _e( 'Account Email', 'buddypress' ); ?></label>
      					<input type="text" name="email" id="email" value="<?php echo bp_get_displayed_user_email(); ?>" class="settings-input" />
      
      					<label for="pass1"><?php _e( 'Change Password <span>(leave blank for no change)</span>', 'buddypress' ); ?></label>
      					<input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small" /> &nbsp;<?php _e( 'New Password', 'buddypress' ); ?><br />
      					<input type="password" name="pass2" id="pass2" size="16" value="" class="settings-input small" /> &nbsp;<?php _e( 'Repeat New Password', 'buddypress' ); ?>
      
      					<?php do_action( 'bp_core_general_settings_before_submit' ); ?>
      
      					<div class="submit">
      						<input type="submit" name="submit" value="<?php _e( 'Save Changes', 'buddypress' ); ?>" id="submit" class="auto" />
      					</div>
      
      					<?php do_action( 'bp_core_general_settings_after_submit' ); ?>
      
      					<?php wp_nonce_field( 'bp_settings_general' ); ?>
      
      				</form>
      

Comments are closed.