1

I have a page template that creates a user directory listing for certain of my site users.

I have no caching plugin and I get the same result from local development server, remote development server and live server.

The directory page does not reflect any changes made to the user profile it is as though it is being cached somewhere. It make no difference whether I update the profile using the native Wordpress admin page or using Gravity Forms User Registration update form.

I have tried $bio = get_user_meta( $user_id, 'description', true ); and also $all_user_data = get_userdata($user_id); $bio = $all_user_data->description;

Both return old data not the updated data from the profile.

3
  • please clear your history (catch memory) Commented Jul 20, 2015 at 10:09
  • As I said above I don't have any caching enabled.
    – Colin
    Commented Jul 20, 2015 at 13:37
  • I tried running clean_user_cache($user_id). No luck.
    – dewd
    Commented Jul 28, 2015 at 13:41

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.