bp_is_search_xprofile_enable( $id )

Checks if xprofile field search is enabled.

Description

Parameters

$id

(Required) integer

Return

(bool) Is members search enabled or not

Source

File: bp-search/bp-search-settings.php

function bp_is_search_xprofile_enable( $id ) {
	return (bool) apply_filters( 'bp_is_search_xprofile_enable', (bool) get_option( "bp_search_xprofile_$id" ) );
}

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.