Reply To: How to get user meta from custom table?
Support › MB Custom Table › ✅How to get user meta from custom table? › Reply To: How to get user meta from custom table?
October 4, 2018 at 11:41 PM
#11539
Participant
Excellent, thank you.
Some users may be interested in my little function:
function mb_customtable_getRow($object_id, $table_name){
$ra = MB_Custom_Table_Cache::get( $object_id, $table_name );
foreach($ra as $k=>$v){
$newra[$k] = maybe_unserialize( $v );//this is a wp func.
}
return $newra;
}