Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,892
- Creating & Extending
- 25,913
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,404
- Miscellaneous
- 9,183
-
You would need to hook into the avatar save with something like xprofile_avatar_uploaded. Then from the cache docs wp_cache_post_change( $post_id )
function uncache_bp(){
$page_array = get_option('bp-pages');
wp_cache_post_change( $page_array['members'] );
}
add_action('xprofile_avatar_uploaded', 'uncache_bp');
Not sure this will work as not tested