0

I want to list out some post types in the admin panel admin user section to allow the users to access from the front end.

How can i get the post list in admin user edit profile section?

enter image description here

1

Here are some steps that may help you:

  1. Use show_user_profile action to insert a form in User edit page:
  2. Use get_post_types function to get a list of registered posts in above form.
  3. Finally use edit_user_profile_update action to save your data.

Here is an example which shows how to add custom fields to user edit page.

  • thanks @Qaisar Feroz for your answer,it helped me. – Mujahidh Feb 20 at 7:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.