signup_blogform

  • do_action('signup_blogform', $errors)

    Source Reference:

    • Component: BuddyPress:: bp-blogs
      File: /bp-blogs/bp-blogs-template.php :: Trac Source Line: 504
      			<strong><?php _e( 'Yes' , 'buddypress'); ?></strong>
      		</label>
      		<label class="checkbox" for="blog_public_off">
      			<input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if( isset( $_POST['blog_public'] ) && '0' == $_POST['blog_public'] ) { ?>checked="checked"<?php } ?> />
      			<strong><?php _e( 'No' , 'buddypress'); ?></strong>
      		</label>
      	</p>
      
      	<?php
      	do_action('signup_blogform', $errors);
      }
      
      function bp_blogs_validate_blog_signup() {
      	global $wpdb, $current_user, $blogname, $blog_title, $errors, $domain, $path, $current_site;
      
      	if ( !check_admin_referer( 'bp_blog_signup_form' ) )
      		return false;
      
      	$current_user = wp_get_current_user();
      

Comments are closed.