Hi,
I use a plugin called comment widget plus. Whenever I change my profile pic it's updated fine everywhere except in that widget. I think I need to make that plugin flush cache when a new profile picture is uploaded. I have found the following code in the plugin:
// Flush cache
add_action('comment_post', array($this, 'flush_widget_cache'));
add_action('edit_comment', array($this, 'flush_widget_cache'));
add_action('transition_comment_status', array($this, 'flush_widget_cache'))
And I tried adding Wordpress actions, but that did not help:
add_action('edit_user_profile_update', array($this, 'flush_widget_cache'));
add_action('personal_options_update', array($this, 'flush_widget_cache'));
So I figured maybe wpforo uses its own actions that I need to add instead to make it work?
I really thought that would work but it didn't :/
Seems like it's more complex than this. I use Redis, so I suspect I need to exclude that plugin from being cached by Redis.