bp_ps_anyfield_setup( $fields )

Setup BuddyBoss Profile Search all fields.

Description

Source

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

function bp_ps_anyfield_setup ($fields)
{
	$f = new stdClass;
	$f->group = __('Other', 'buddyboss');
	$f->code = 'field_any';
	$f->name = __('Search all fields', 'buddyboss');
	$f->description = __('Search every profile field', 'buddyboss');

	$f->format = 'text';
	$f->options = array ();
	$f->search = 'bp_ps_anyfield_search';

	$fields[] = $f;
	return $fields;
}

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.