?> </h4> <p><input type="checkbox" name="signup_with_blog" id="signup_with_blog" value="1"<?php if ((int) bp_get_signup_with_blog_value()) { ?> checked="checked"<?php } ?> /> <?php _e('Yes, I\'d like to create a new site', 'buddypress'); ?> </p> <div id="blog-details"<?php if ((int) bp_get_signup_with_blog_value()) { ?> class="show"<?php } ?> > <label for="signup_blog_url"><?php _e('Blog URL', 'buddypress'); ?> <?php _e('(required)', 'buddypress'); ?> </label> <?php do_action('bp_signup_blog_url_errors');
/** * Output the 'signup_with_blog' value submitted during signup. */ function bp_signup_with_blog_value() { echo bp_get_signup_with_blog_value(); }