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