Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/24/2013 01:41:20 AM (11 years ago)
Author:
r-a-y
Message:

Add additional hooks in the registration template.

This will allow theme and plugin devs the opportunity to insert markup
inside the account, profile and blog details sections.

Previously, hooks were available before and after these sections, but
not inside the actual block.

Fixes #5081.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-templates/bp-legacy/buddypress/members/register.php

    r7408 r7475  
    4545                <?php do_action( 'bp_signup_password_confirm_errors' ); ?>
    4646                <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
     47
     48                <?php do_action( 'bp_account_details_fields' ); ?>
    4749
    4850            </div><!-- #basic-details-section -->
     
    185187                    <?php endwhile; endif; endif; ?>
    186188
     189                    <?php do_action( 'bp_signup_profile_fields' ); ?>
     190
    187191                </div><!-- #profile-details-section -->
    188192
     
    224228                        <label><input type="radio" name="signup_blog_privacy" id="signup_blog_privacy_private" value="private"<?php if ( 'private' == bp_get_signup_blog_privacy_value() ) : ?> checked="checked"<?php endif; ?> /> <?php _e( 'No', 'buddypress' ); ?></label>
    225229
     230                        <?php do_action( 'bp_blog_details_fields' ); ?>
     231
    226232                    </div>
    227233
Note: See TracChangeset for help on using the changeset viewer.