In parameter $isSingle
3th of function get_user_meta
default value is false
and this return value with array.Change 3th parameter to true
.
More details https://codex.wordpress.org/Function_Reference/update_user_meta
In parameter $isSingle
3th of function get_user_meta
default value is false
and this return value with array.Change 3th parameter to true
.
More details https://codex.wordpress.org/Function_Reference/update_user_meta