xprofile_clear_profile_groups_object_cache( object $group_obj )

Clear cached XProfile field group data.

Parameters Parameters


(object) (Required) Group object to clear.

Source Source

File: bp-xprofile/bp-xprofile-cache.php

function xprofile_clear_profile_groups_object_cache( $group_obj ) {
	wp_cache_delete( 'all',          'bp_xprofile_groups' );
	wp_cache_delete( $group_obj->id, 'bp_xprofile_groups' );

Top ↑

Changelog Changelog

Version Description
2.1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.