By default, get_user_meta returns an array, a single value or false. I want to change the return value somehow. How to do that?
I want to modify the return type of a template tag get_user_meta inside the class only. How to do this? I am trying this:-
class modifyUserMeta {
function modifyUserMeta(){
add_filter('get_user_meta',$this->modifyMeta);
}
function modifyMeta(){
//how can i modify the return type of get_user_meta?
}
}