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 |
---|---|
560 | ); |
561 | ?> |
562 | </p> |
563 | <?php |
564 | /** |
565 | * Fires when the site or user sign-up process is complete. |
566 | * |
567 | * @since 3.0.0 |
568 | */ |
569 | do_action( 'signup_finished' ); |
570 | } |
571 |
|
572 | /** |
573 | * Shows a form for a visitor to sign up for a new user account. |
574 | * |
575 | * @since MU (3.0.0) |
576 | * |
577 | * @global string $active_signup String that returns registration type. The value can be |
578 | * 'all', 'none', 'blog', or 'user'. |
Line | Code |
705 | <p> |
706 | <?php |
707 | /* translators: %s: Email address. */ |
708 | printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); |
709 | ?> |
710 | </p> |
711 | <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p> |
712 | <?php |
713 | /** This action is documented in wp-signup.php */ |
714 | do_action( 'signup_finished' ); |
715 | } |
716 |
|
717 | /** |
718 | * Shows a form for a user or visitor to sign up for a new site. |
719 | * |
720 | * @since MU (3.0.0) |
721 | * |
722 | * @param string $user_name The username. |
723 | * @param string $user_email The user's email address. |
Line | Code |
875 | <li> |
876 | <?php |
877 | /* translators: %s: Email address. */ |
878 | printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ); |
879 | ?> |
880 | </li> |
881 | </ul> |
882 | <?php |
883 | /** This action is documented in wp-signup.php */ |
884 | do_action( 'signup_finished' ); |
885 | } |
886 |
|
887 | /** |
888 | * Retrieves languages available during the site/user sign-up process. |
889 | * |
890 | * @since 4.4.0 |
891 | * |
892 | * @see get_available_languages() |
893 | * |