[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/tests/phpunit/includes/ -> mock-mailer.php (source)

   1  <?php
   2  
   3  /**
   4   * Mock email delivery implementation.
   5   *
   6   * @since 2.5.0
   7   */
   8  class BP_UnitTest_Mailer implements BP_Email_Delivery {
   9  
  10      /**
  11       * Send email(s).
  12       *
  13       * @param BP_Email $email Email to send.
  14       * @return bool False if some error occurred.
  15       * @since 2.5.0
  16       */
  17  	public function bp_email( BP_Email $email ) {
  18          return true;
  19      }
  20  }


Generated: Fri May 20 01:00:54 2022 Cross-referenced by PHPXref 0.7.1