Beispiel #1
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct();
     $this->id = 'bb_profile';
     $this->name = __('bbPress User Profiles', WPCACore::DOMAIN);
     add_filter('wpca/module/post_type/db-where', array(&$this, 'add_forum_dependency'));
 }
Beispiel #2
0
 /**
  * Initiate module
  *
  * @since  2.0
  * @return void
  */
 public function initiate()
 {
     parent::initiate();
     add_filter('wpca/module/post_type/db-where', array($this, 'add_forum_dependency'));
 }