bp_ps_set_hidden_field( $name,  $value )

Hide BuddyBoss profile search field.

Description

Source

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

function bp_ps_set_hidden_field ($name, $value)
{
	$new = new stdClass;
	$new->display = 'hidden';
	$new->code = $name;		// to be removed
	$new->html_name = $name;
	$new->value = $value;
	$new->unique_id = bp_ps_unique_id ($name);

	return $new;
}

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.