confirm_blog_signup

New site signup confirmation.

Description

confirm_blog_signup( (string) $domain, (string) $path, (string) $blog_title, (string) $user_name = '', (string) $user_email = '', (array) $meta = array() ); 

Parameters (6)

0. $domain (string)
The domain URL
1. $path (string)
The site root path
2. $blog_title (string)
The new site title
3. $user_name — Optional. (string) => ''
The user's username
4. $user_email — Optional. (string) => ''
The user's email address
5. $meta — Optional. (array) => array()
The meta.

Usage

  1. if ( !function_exists( 'confirm_blog_signup' ) ) { 
  2. require_once '/wp-signup.php'; 
  3.  
  4. // The domain URL 
  5. $domain = ''; 
  6.  
  7. // The site root path 
  8. $path = ''; 
  9.  
  10. // The new site title 
  11. $blog_title = ''; 
  12.  
  13. // The user's username 
  14. $user_name = ''; 
  15.  
  16. // The user's email address 
  17. $user_email = ''; 
  18.  
  19. // The meta. 
  20. $meta = array(); 
  21.  
  22. // NOTICE! Understand what this does before running. 
  23. $result = confirm_blog_signup($domain, $path, $blog_title, $user_name, $user_email, $meta); 
  24.  

Defined (1)

The function is defined in the following location(s).

/wp-signup.php  
  1. function confirm_blog_signup( $domain, $path, $blog_title, $user_name = '', $user_email = '', $meta = array() ) { 
  2. ?> 
  3. <h2><?php /** translators: %s: site address */ 
  4. printf( __( 'Congratulations! Your new site, %s, is almost ready.' ), "<a href='http://{$domain}{$path}'>{$blog_title}</a>" ) ?></h2> 
  5.  
  6. <p><?php _e( 'But, before you can start using your site, <strong>you must activate it</strong>.' ) ?></p> 
  7. <p><?php /** translators: %s: email address */ 
  8. printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); ?></p> 
  9. <p><?php _e( 'If you do not activate your site within two days, you will have to sign up again.' ); ?></p> 
  10. <h2><?php _e( 'Still waiting for your email?' ); ?></h2> 
  11. <p> 
  12. <?php _e( 'If you haven’t received your email yet, there are a number of things you can do:' ) ?> 
  13. <ul id="noemail-tips"> 
  14. <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> 
  15. <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ) ?></p></li> 
  16. <li><?php 
  17. /** translators: %s: email address */ 
  18. printf( __( 'Have you entered your email correctly? You have entered %s, if it’s incorrect, you will not receive your email.' ), $user_email ); 
  19. ?></li> 
  20. </ul> 
  21. </p> 
  22. <?php 
  23. /** This action is documented in wp-signup.php */