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 |
---|---|
478 | $user_name |
479 | ); ?> |
480 | </p> |
481 | <?php |
482 | /** |
483 | * Fires when the site or user sign-up process is complete. |
484 | * |
485 | * @since 3.0.0 |
486 | */ |
487 | do_action( 'signup_finished' ); |
488 | } |
489 |
|
490 | /** |
491 | * Setup the new user signup process |
492 | * |
493 | * @since MU |
494 | * |
495 | * @param string $user_name The username. |
496 | * @param string $user_email The user's email. |
Line | Code |
603 | ?> |
604 | <h2><?php /* translators: %s: username */ |
605 | printf( __( '%s is your new username' ), $user_name) ?></h2> |
606 | <p><?php _e( 'But, before you can start using your new username, <strong>you must activate it</strong>.' ) ?></p> |
607 | <p><?php /* translators: %s: email address */ |
608 | printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); ?></p> |
609 | <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p> |
610 | <?php |
611 | /** This action is documented in wp-signup.php */ |
612 | do_action( 'signup_finished' ); |
613 | } |
614 |
|
615 | /** |
616 | * Setup the new site signup |
617 | * |
618 | * @since MU |
619 | * |
620 | * @param string $user_name The username. |
621 | * @param string $user_email The user's email address. |
Line | Code |
761 | <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ) ?></p></li> |
762 | <li><?php |
763 | /* translators: %s: email address */ |
764 | printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ); |
765 | ?></li> |
766 | </ul> |
767 | </p> |
768 | <?php |
769 | /** This action is documented in wp-signup.php */ |
770 | do_action( 'signup_finished' ); |
771 | } |
772 |
|
773 | /** |
774 | * Retrieves languages available during the site/user signup process. |
775 | * |
776 | * @since 4.4.0 |
777 | * |
778 | * @see get_available_languages() |
779 | * |