bp_xprofile_clear_member_type_cache()
Clears member_type cache when a field’s profile types are updated.
Description
Source
File: bp-xprofile/bp-xprofile-cache.php
function bp_xprofile_clear_member_type_cache() {
wp_cache_delete( 'field_member_types', 'bp_xprofile' );
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 2.4.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.