user_.$name._label

  • apply_filters( 'user_'.$name.'_label', $desc )

    Source Reference:

    • 		<div>
      			<label for="url"><?php _e( 'Website', 'bbpress' ) ?></label>
      			<input type="text" name="url" id="url" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'user_url' ) ); ?>" class="regular-text code" tabindex="<?php bbp_tab_index(); ?>" />
      		</div>
      
      		<?php foreach ( bbp_edit_user_contact_methods() as $name => $desc ) : ?>
      
      			<div>
      				<label for="<?php echo $name; ?>"><?php echo apply_filters( 'user_'.$name.'_label', $desc ); ?></label>
      				<input type="text" name="<?php echo $name; ?>" id="<?php echo $name; ?>" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'name' ) ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
      			</div>
      
      		<?php endforeach; ?>
      
      		<?php do_action( 'bbp_user_edit_after_contact' ); ?>
      
      	</fieldset>
      
      	<h2 class="entry-title"><?php bbp_is_user_home() ? _e( 'About Yourself', 'bbpress' ) : _e( 'About the user', 'bbpress' ); ?></h2>
      

Comments are closed.