Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

get_field_objects returns false for New users

$
0
0

Replies: 0

I have issue with get_field_objects(); function
it returns me false for newly created users. Strange thing is that fields i want to access are accessible from backend and they contains data from registration process.

But when i try to get those fields with get_field_objects() or separately with get_field_object() i get false.

Also after saving User from dashboard it starts to work.

I am creating new user with use of this function: wp_insert_user();

Hope to get response from You soon
With regards Maxvt

PS: I had registred under Youre Support panel but I did not recieve activation email.


Viewing all articles
Browse latest Browse all 67836

Trending Articles