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-themes/bp-default/registration/register.php

    r7122 r7475  
    5050                    <?php do_action( 'bp_signup_password_confirm_errors' ); ?>
    5151                    <input type="password" name="signup_password_confirm" id="signup_password_confirm" value="" />
     52
     53                    <?php do_action( 'bp_account_details_fields' ); ?>
    5254
    5355                </div><!-- #basic-details-section -->
     
    190192                        <?php endwhile; endif; endif; ?>
    191193
     194                        <?php do_action( 'bp_signup_profile_fields' ); ?>
     195
    192196                    </div><!-- #profile-details-section -->
    193197
     
    229233                            <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>
    230234
     235                            <?php do_action( 'bp_blog_details_fields' ); ?>
     236
    231237                        </div>
    232238
Note: See TracChangeset for help on using the changeset viewer.