[ Index ]

MailPress 544

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/mp-includes/ -> wp_pluggable.php (source)

   1  <?php
   2  add_filter('retrieve_password_message',     array('MP_Pluggable', 'retrieve_password_message'), 8, 2);
   3  
   4  /**
   5   * wp_mail() - Function to send mail
   6   */
   7  if ( !function_exists( 'wp_mail' ) ) :
   8  	function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() ) 
   9      {
  10          return MP_Pluggable::wp_mail( $to, $subject, $message, $headers, $attachments);
  11      }
  12  endif;
  13  
  14  /**
  15   * wp_notify_postauthor() - Notify an author of a comment/trackback/pingback to one of their posts
  16   */
  17  if ( ! function_exists('wp_notify_postauthor') ) :
  18  	function wp_notify_postauthor($comment_id, $comment_type='') 
  19      {
  20          MP_Pluggable::wp_notify_postauthor($comment_id, $comment_type);
  21      }
  22  endif;
  23  
  24  /**
  25   * wp_notify_moderator() - Notifies the moderator of the blog about a new comment that is awaiting approval
  26   */
  27  if ( !function_exists('wp_notify_moderator') ) :
  28  	function wp_notify_moderator($comment_id) 
  29      {
  30          MP_Pluggable::wp_notify_moderator($comment_id);
  31      }
  32  endif;
  33  
  34  /**
  35   * wp_password_change_notification() - Notify the blog admin of a user changing password, normally via email.
  36   */
  37  if ( !function_exists('wp_password_change_notification') ) :
  38  	function wp_password_change_notification(&$user) 
  39      {
  40          MP_Pluggable::wp_password_change_notification($user);
  41      }
  42  endif;
  43  
  44  /**
  45   * wp_new_user_notification() - Notify the blog admin of a new user, normally via email
  46   */
  47  if ( !function_exists('wp_new_user_notification') ) :
  48  	function wp_new_user_notification($user_id, $plaintext_pass = '')
  49      {
  50          MP_Pluggable::wp_new_user_notification($user_id, $plaintext_pass);
  51      }
  52  endif;


Generated: Thu Apr 28 18:38:52 2016 Cross-referenced by PHPXref 0.7.1