Skip to:
Content

bbPress.org


Ignore:
Timestamp:
03/04/2014 02:09:18 AM (11 years ago)
Author:
johnjamesjacoby
Message:

Add actions before & after register template part fieldset fields. Fixes #2534.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/templates/default/bbpress/form-user-register.php

    r4733 r5303  
    1414        <legend><?php _e( 'Create an Account', 'bbpress' ); ?></legend>
    1515
     16        <?php do_action( 'bbp_template_before_register_fields' ); ?>
     17
    1618        <div class="bbp-template-notice">
    1719            <p><?php _e( 'Your username must be unique, and cannot be changed later.', 'bbpress' ) ?></p>
    1820            <p><?php _e( 'We use your email address to email you a secure password and verify your account.', 'bbpress' ) ?></p>
    19 
    2021        </div>
    2122
     
    3940
    4041        </div>
     42
     43        <?php do_action( 'bbp_template_after_register_fields' ); ?>
     44
    4145    </fieldset>
    4246</form>
Note: See TracChangeset for help on using the changeset viewer.