bp_core_load_profile_search()

Load main profile search module.

Description

Source

File: bp-core/bp-core-profile-search.php

function bp_core_load_profile_search () {
    if ( defined( 'BPS_VERSION' ) || function_exists( 'bps_buddypress' ) ) {
        return false;//do not load !
    }
    
    if ( bp_disable_advanced_profile_search() ) {
        return false;//do not load
    }
    
    define ( 'BPS_VERSION', BP_VERSION );
    
    if ( bp_is_active ( 'xprofile' ) ) {
		include buddypress()->plugin_dir . 'bp-core/profile-search/bps-start.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.