Hello, i'm trying to display a list of pages on the profile page.
What i want to do is, as admin, i want to edit a user profile and assign each user a page, the problem is that the page is of a custom post type.
I already register my custom post type, i have elements created under this post type.
Then i added a custom field for the user profile, but when i try to display a dropdown of custom post type elements this aren't rendered.
This works if i try to display pages, but not custom types.
My question is, is it possible to display custom post type elements under the user profile page, or am i doing something wrong?
As far as i know, "edit_user_profile" hook runs after "init", custom post types are registered before the profile page.
Also if i try get_post_types(), i get my custom post type already registered.
I hope someone can give me a hand here.