WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
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.
This hook occurs 3 times in this file.
Line | Code |
---|---|
481 | $user_name |
482 | ); ?> |
483 | </p> |
484 | <?php |
485 | /** |
486 | * Fires when the site or user sign-up process is complete. |
487 | * |
488 | * @since 3.0.0 |
489 | */ |
490 | do_action( 'signup_finished' ); |
491 | } |
492 |
|
493 | /** |
494 | * Setup the new user signup process |
495 | * |
496 | * @since MU (3.0.0) |
497 | * |
498 | * @param string $user_name The username. |
499 | * @param string $user_email The user's email. |
Line | Code |
606 | ?> |
607 | <h2><?php /* translators: %s: username */ |
608 | printf( __( '%s is your new username' ), $user_name) ?></h2> |
609 | <p><?php _e( 'But, before you can start using your new username, <strong>you must activate it</strong>.' ) ?></p> |
610 | <p><?php /* translators: %s: email address */ |
611 | printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); ?></p> |
612 | <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p> |
613 | <?php |
614 | /** This action is documented in wp-signup.php */ |
615 | do_action( 'signup_finished' ); |
616 | } |
617 |
|
618 | /** |
619 | * Setup the new site signup |
620 | * |
621 | * @since MU (3.0.0) |
622 | * |
623 | * @param string $user_name The username. |
624 | * @param string $user_email The user's email address. |
Line | Code |
764 | <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ) ?></p></li> |
765 | <li><?php |
766 | /* translators: %s: email address */ |
767 | printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ); |
768 | ?></li> |
769 | </ul> |
770 | </p> |
771 | <?php |
772 | /** This action is documented in wp-signup.php */ |
773 | do_action( 'signup_finished' ); |
774 | } |
775 |
|
776 | /** |
777 | * Retrieves languages available during the site/user signup process. |
778 | * |
779 | * @since 4.4.0 |
780 | * |
781 | * @see get_available_languages() |
782 | * |