bp_ps_heading_field_setup( $fields )

Setup BuddyBoss Profile Search headings.

Description

Source

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

function bp_ps_heading_field_setup ( $fields ) {
	$f = new stdClass;
	$f->group = __('Other', 'buddyboss');
	$f->code = 'heading';
	$f->name = __('Heading', 'buddyboss');
	$f->description = __( 'Used to segregate form into sections', 'buddyboss' );

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

	$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.