Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: signup_finished

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

This hook occurs 3 times in this file.

Line Code
539           );
540           ?>
541      </p>
542      <?php
543      /**
544       * Fires when the site or user sign-up process is complete.
545       *
546       * @since 3.0.0
547       */
548      do_action( 'signup_finished' );
549 }
550
551 /**
552  * Shows a form for a visitor to sign up for a new user account.
553  *
554  * @since MU (3.0.0)
555  *
556  * @param string          $user_name  The username.
557  * @param string          $user_email The user's email.
 
Line Code
675      <p>
676      <?php
677      /* translators: %s: Email address. */
678      printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' );
679      ?>
680      </p>
681      <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p>
682      <?php
683      /** This action is documented in wp-signup.php */
684      do_action( 'signup_finished' );
685 }
686
687 /**
688  * Shows a form for a user or visitor to sign up for a new site.
689  *
690  * @since MU (3.0.0)
691  *
692  * @param string          $user_name  The username.
693  * @param string          $user_email The user's email address.
 
Line Code
847                <?php
848                     /* translators: %s: Email address. */
849                     printf( __( 'Have you entered your email correctly? You have entered %s, if it&#8217;s incorrect, you will not receive your email.' ), $user_email );
850                ?>
851                </li>
852           </ul>
853      </p>
854      <?php
855      /** This action is documented in wp-signup.php */
856      do_action( 'signup_finished' );
857 }
858
859 /**
860  * Retrieves languages available during the site/user signup process.
861  *
862  * @since 4.4.0
863  *
864  * @see get_available_languages()
865  *