BP_Members_Admin::bp_group_layout_update_option( $old_value,  $new_value )

Set Cookie to reset the previous layout stored in browser storage.

Description

Source

File: bp-members/classes/class-bp-members-admin.php

	public function bp_group_layout_update_option( $old_value, $new_value ) {
		if ( $old_value !== $new_value ) {
			setcookie( 'reset_group', '1', time() + (86400 * 30), '/' );
		}
	}

Changelog

Changelog
Version Description
BuddyPress 1.2.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.