BP_Invites_Component::includes( array $includes = array() )
Include Invites component files.
Description
See also
- BP_Component::includes(): for a description of arguments.
Parameters
- $includes
-
(Optional) See BP_Component::includes() for a description.
Default value: array()
Source
File: bp-invites/classes/class-bp-invites-component.php
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | public function includes( $includes = array () ) { $includes = array ( 'filters' , 'template' , 'functions' , ); // Conditional includes. if ( bp_is_active( 'activity' ) ) { $includes [] = 'activity' ; } if ( is_admin() ) { $includes [] = 'admin' ; } parent::includes( $includes ); } |
Changelog
Version | Description |
---|---|
BuddyBoss 1.0.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.