BP_Search_Core::do_includes( $includes = array() )

Include required array of files in the includes directory

Description

Source

File: bp-search/classes/class-bp-search-core.php

313
314
315
316
317
318
319
public function do_includes( $includes = array() ) {
    global $bp;
 
    foreach ( (array) $includes as $include ) {
        require_once( $bp->plugin_dir . '/bp-search/' . $include . '.php' );
    }
}

Changelog

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.