Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How can I update um_cache_userdata fields programatically

$
0
0

Replies: 0

I want to update two custom fields in the database which are stored in wp-options -> um_cache_userdata_* <- * = userid

I cant query it using wpdb some like


global $wpdb;	
$posts = $wpdb->get_row("SELECT ID, license_keys FROM firemax_options WHERE option_value = '".um_user('ID')."'");

   // Echo the title of the first scheduled post
   echo $posts;

https://ibb.co/bAWF97


Viewing all articles
Browse latest Browse all 59525

Trending Articles