bp_ps_set_option( $name,  $value )

BuddyBoss Profile Search Admin

Description

Source

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

function bp_ps_set_option ($name, $value){
	$settings = get_option ('bp_ps_settings');
	if ($settings === false)
		$settings = new stdClass;

	$settings->{$name} = $value;
	update_option ('bp_ps_settings', $settings);
}

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.