Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save champsupertramp/47f9658a22e684f2b6c9a0363caab2d0 to your computer and use it in GitHub Desktop.
Save champsupertramp/47f9658a22e684f2b6c9a0363caab2d0 to your computer and use it in GitHub Desktop.
Ultimate Member - Permanently disable user caching
<?php
add_filter("um_get_option_filter__um_profile_object_cache_stop","__return_true");
?>
@moisb
Copy link

moisb commented Sep 17, 2019

In which scenario is this code needed? I already disabled caching in the control panel.

@hirenshah
Copy link

@champsupertramp
Is this now redundant because there is an option available in UM or does this do something extra?

@champsupertramp
Copy link
Author

Hi Everyone,

I'll be sharing some Ultimate Member customizations & tutorials on my website: www.champ.ninja

Subscribe to my newsletter to get the latest tutorials.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment