[ Index ]

PHP Cross Reference of BuddyPress

title

Body

[close]

/tests/phpunit/assets/ -> attachment-extensions.php (source)

   1  <?php
   2  /**
   3   * The following implementations of BP_Attachment act as dummy plugins
   4   * for our unit tests
   5   */
   6  class BPTest_Attachment_Extension extends BP_Attachment {
   7  	public function __construct( $args = array() ) {
   8          return parent::__construct( $args );
   9      }
  10  
  11  	public function upload_dir_filter( $upload_dir = array() ) {
  12          $this->original_upload_dir = $upload_dir;
  13  
  14          return parent::upload_dir_filter( $upload_dir );
  15      }
  16  }


Generated: Fri May 29 01:01:36 2020 Cross-referenced by PHPXref 0.7.1