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 |
|---|---|
| 461 | $user_name |
| 462 | ); ?> |
| 463 | </p> |
| 464 | <?php |
| 465 | /** |
| 466 | * Fires when the site or user sign-up process is complete. |
| 467 | * |
| 468 | * @since 3.0.0 |
| 469 | */ |
| 470 | do_action( 'signup_finished' ); |
| 471 | } |
| 472 | |
| 473 | /** |
| 474 | * Setup the new user signup process |
| 475 | * |
| 476 | * @since MU |
| 477 | * |
| 478 | * @param string $user_name The username |
| 479 | * @param string $user_email The user's email |
| Line | Code |
| 583 | ?> |
| 584 | <h2><?php /* translators: %s: username */ |
| 585 | printf( __( '%s is your new username' ), $user_name) ?></h2> |
| 586 | <p><?php _e( 'But, before you can start using your new username, <strong>you must activate it</strong>.' ) ?></p> |
| 587 | <p><?php /* translators: %s: email address */ |
| 588 | printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); ?></p> |
| 589 | <p><?php _e( 'If you do not activate your username within two days, you will have to sign up again.' ); ?></p> |
| 590 | <?php |
| 591 | /** This action is documented in wp-signup.php */ |
| 592 | do_action( 'signup_finished' ); |
| 593 | } |
| 594 | |
| 595 | /** |
| 596 | * Setup the new site signup |
| 597 | * |
| 598 | * @since MU |
| 599 | * |
| 600 | * @param string $user_name The username |
| 601 | * @param string $user_email The user's email address |
| Line | Code |
| 738 | <?php _e( 'If you haven’t received your email yet, there are a number of things you can do:' ) ?> |
| 739 | <ul id="noemail-tips"> |
| 740 | <li><p><strong><?php _e( 'Wait a little longer. Sometimes delivery of email can be delayed by processes outside of our control.' ) ?></strong></p></li> |
| 741 | <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ) ?></p></li> |
| 742 | <li><?php printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ) ?></li> |
| 743 | </ul> |
| 744 | </p> |
| 745 | <?php |
| 746 | /** This action is documented in wp-signup.php */ |
| 747 | do_action( 'signup_finished' ); |
| 748 | } |
| 749 | |
| 750 | /** |
| 751 | * Retrieves languages available during the site/user signup process. |
| 752 | * |
| 753 | * @since 4.4.0 |
| 754 | * |
| 755 | * @see get_available_languages() |
| 756 | * |