get user role value as a string from wp usermeta table into custom script October 3, 2022 by Tarik Billa get user role value as a string from wp usermeta table into custom script