[wp-hackers] Question about get_user_meta update_user_meta
Philip M. Hofer (Frumph)
philip at frumph.net
Sat Dec 11 18:43:25 UTC 2010
I have been using update_usermeta and get_usermeta because sometimes the string comes back empty and i'm totally lost on it's usage.
Basically I have
get_user_meta($current_user->ID,'comicpress-is-member', true);
to get the user meta is-member tag
and updating
update_user_meta($id, 'comicpress-is-member', $comicpress_is_member);
where id = (int)$_POST['user_id']) in my save filter.
The problem is my understanding with WPMS, does this flag carry over to all blogs? or just the main one, i'm a little lost on this one after reading the conversation in the list recently.
Basically I want to get and store the information on the main blog but have it available and used on all subblogs as well.
- Phil
More information about the wp-hackers
mailing list