Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: signup_blogform

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
122             </label>
123             <label class="checkbox" for="blog_public_off">
124                 <input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if ( isset( $_POST['blog_public'] ) && $_POST['blog_public'] == '0' ) { ?>checked="checked"<?php } ?> />
125                 <strong><?php _e( 'No' ); ?></strong>
126             </label>
127         </p>
128      </div>
129
130      <?php
131      do_action('signup_blogform', $errors);
132 }
133
134 /**
135  * Validate the new site signup
136  *
137  * @since MU
138  *
139  * @uses wp_get_current_user() to retrieve the current user
140  * @uses wpmu_validate_blog_signup() to validate new site signup for the current user