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