[buddypress-trac] [BuddyPress] #5081: Add an action inside div#blog-details on register page

buddypress-trac noreply at wordpress.org
Wed Jun 26 22:02:00 UTC 2013

#5081: Add an action inside div#blog-details on register page
 Reporter:  needle       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Theme        |    Version:
 Severity:  normal       |   Keywords:
 I would like to add fields to the existing blog-related ones when the
 registration page is displayed, but would prefer that they be located
 ''inside'' the div, so that they are revealed along with the basic options
 when the checkbox is ticked.

 The function `bp_blogs_signup_blog` has `do_action('signup_blogform',
 $errors);` at the end of it which I can hook into and which does what I
 want - but this form is only displayed when a logged in user requests a
 new blog. The core WP file 'wp-signup.php' also has this hook at the
 appropriate point. I'd like the same thing, but on the BP register page.

 To that end, can I propose an action be placed just before the closing tag
 of div#blog-details in the relevant files? Something like `<?php
 do_action( 'bp_after_blog_details' ) ?>` perhaps?

 Files affected:

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5081>
BuddyPress <http://buddypress.org/>

More information about the buddypress-trac mailing list