bbp_user_edit_before

  • do_action( 'bbp_user_edit_before' )

    Source Reference:

    •  * @subpackage Theme
       */
      
      ?>
      
      <form id="bbp-your-profile" action="<?php bbp_user_profile_edit_url( bbp_get_displayed_user_id() ); ?>" method="post">
      
      	<h2 class="entry-title"><?php _e( 'Name', 'bbpress' ) ?></h2>
      
      	<?php do_action( 'bbp_user_edit_before' ); ?>
      
      	<fieldset class="bbp-form">
      		<legend><?php _e( 'Name', 'bbpress' ) ?></legend>
      
      		<?php do_action( 'bbp_user_edit_before_name' ); ?>
      
      		<div>
      			<label for="first_name"><?php _e( 'First Name', 'bbpress' ) ?></label>
      			<input type="text" name="first_name" id="first_name" value="<?php echo esc_attr( bbp_get_displayed_user_field( 'first_name' ) ); ?>" class="regular-text" tabindex="<?php bbp_tab_index(); ?>" />
      		</div>
      

Comments are closed.