comics_welcome_email

The Jetpack by WordPress.com comics welcome email function.

Description

comics_welcome_email( $welcome_email, $blog_id, $user_id, $password, $title, $meta ); 

Parameters (6)

0. $welcome_email
The welcome email.
1. $blog_id
The blog id.
2. $user_id
The user id.
3. $password
The password.
4. $title
The title.
5. $meta
The meta.

Usage

  1. if ( !function_exists( 'comics_welcome_email' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'jetpack-by-wordpress-com/modules/custom-post-types/comics.php'; 
  3.  
  4. // The welcome email. 
  5. $welcome_email = null; 
  6.  
  7. // The blog id. 
  8. $blog_id = null; 
  9.  
  10. // The user id. 
  11. $user_id = null; 
  12.  
  13. // The password. 
  14. $password = null; 
  15.  
  16. // The title. 
  17. $title = null; 
  18.  
  19. // The meta. 
  20. $meta = null; 
  21.  
  22. // NOTICE! Understand what this does before running. 
  23. $result = comics_welcome_email($welcome_email, $blog_id, $user_id, $password, $title, $meta); 
  24.  

Defined (1)

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

/modules/custom-post-types/comics.php  
  1. function comics_welcome_email( $welcome_email, $blog_id, $user_id, $password, $title, $meta ) { 
  2. if ( ( isset( $meta['vertical'] ) && 'comics' == $meta['vertical'] ) || has_blog_sticker( 'vertical-comics', $blog_id ) ) { 
  3. return __( "Welcome! Ready to publish your first strip? 
  4.  
  5. Your webcomic's new site is ready to go. Get started by <a href=\"BLOG_URLwp-admin/customize.php#title\">setting your comic's title and tagline</a> so your readers know what it's all about. 
  6.  
  7. Looking for more help with setting up your site? Check out the WordPress.com <a href=\"http://learn.wordpress.com/\">beginner's tutorial</a> and the <a href=\"http://en.support.wordpress.com/comics/\">guide to comics on WordPress.com</a>. Dive right in by <a href=\"BLOG_URLwp-admin/customize.php#title\">publishing your first strip!</a> 
  8.  
  9. Lots of laughs,  
  10. The WordPress.com Team", jetpack ); 
  11.  
  12. return $welcome_email;