Welcome, visitor! Log in
 

Source View: before_signup_form

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
47           .mu_register label.checkbox { display:inline; }
48           .mu_register .mu_alert { font-weight:700; padding:10px; color:#333333; background:#ffffe0; border:1px solid #e6db55; }
49      </style>
50      <?php
51 }
52
53 add_action( 'wp_head', 'wpmu_signup_stylesheet' );
54 get_header();
55
56 do_action( 'before_signup_form' );
57 ?>
58 <div id="content" class="widecolumn">
59 <div class="mu_register">
60 <?php
61 function show_blog_form($blogname = '', $blog_title = '', $errors = '') {
62      global $current_site;
63      // Blog name
64      if ( !is_subdomain_install() )
65           echo '<label for="blogname">' . __('Site Name:') . '</label>';