[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/src/bp-core/classes/ -> class-bp-email-delivery.php (source)

   1  <?php
   2  /**
   3   * Core component classes.
   4   *
   5   * @package BuddyPress
   6   * @subpackage Core
   7   */
   8  
   9  // Exit if accessed directly
  10  defined( 'ABSPATH' ) || exit;
  11  
  12  /**
  13   * Email delivery implementation base class.
  14   *
  15   * When implementing support for an email delivery service into BuddyPress,
  16   * you are required to create a class that implements this interface.
  17   *
  18   * @since 2.5.0
  19   */
  20  interface BP_Email_Delivery {
  21  
  22      /**
  23       * Send email(s).
  24       *
  25       * @since 2.5.0
  26       *
  27       * @param BP_Email $email Email to send.
  28       * @return bool|WP_Error Returns true if email send, else a descriptive WP_Error.
  29       */
  30  	public function bp_email( BP_Email $email );
  31  }


Generated: Fri Dec 27 01:00:55 2024 Cross-referenced by PHPXref 0.7.1