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 |
---|---|
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 | * @global string $active_signup String that returns registration type. The value can be |
557 | * 'all', 'none', 'blog', or 'user'. |
Line | Code |
678 | <p> |
679 | <?php |
680 | /* translators: %s: Email address. */ |
681 | printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); |
682 | ?> |
683 | </p> |
684 | <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p> |
685 | <?php |
686 | /** This action is documented in wp-signup.php */ |
687 | do_action( 'signup_finished' ); |
688 | } |
689 |
|
690 | /** |
691 | * Shows a form for a user or visitor to sign up for a new site. |
692 | * |
693 | * @since MU (3.0.0) |
694 | * |
695 | * @param string $user_name The username. |
696 | * @param string $user_email The user's email address. |
Line | Code |
850 | <?php |
851 | /* translators: %s: Email address. */ |
852 | printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ); |
853 | ?> |
854 | </li> |
855 | </ul> |
856 | </p> |
857 | <?php |
858 | /** This action is documented in wp-signup.php */ |
859 | do_action( 'signup_finished' ); |
860 | } |
861 |
|
862 | /** |
863 | * Retrieves languages available during the site/user sign-up process. |
864 | * |
865 | * @since 4.4.0 |
866 | * |
867 | * @see get_available_languages() |
868 | * |