You’re defining your $kjdz_adress_meta_box
in one function, and referencing it in another. Just keep it in the function where you’re trying to use it and that might fix it. Or define it elsewhere if you need it in more than one function. I don’t think a $global
call will necessarily transcend a function.