Source View: wpmu_validate_blog_signup

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.

  • Action hooks look like this: do_action( "hook_name" )
  • Filter hooks look like this: apply_filters( "hook_name", "what_to_filter" ).

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
680       *
681       *     @type string         $domain     Domain for the site.
682       *     @type string         $path       Path for the site. Used in subdirectory installations.
683       *     @type string         $blogname   The unique site name (slug).
684       *     @type string         $blog_title Blog title.
685       *     @type string|WP_User $user       By default, an empty string. A user object if provided.
686       *     @type WP_Error       $errors     WP_Error containing any errors found.
687       * }
688       */
689      return apply_filters( 'wpmu_validate_blog_signup', $result );
690 }
691
692 /**
693  * Record site signup information for future activation.
694  *
695  * @since MU (3.0.0)
696  *
697  * @global wpdb $wpdb WordPress database abstraction object.
698  *