0

I would like to create a customized Wordpress admin panel that changes based on the user's log in credentials.

For example, if the site administrator logs in from the WP-Admin page, they would be directed to a full suite of administrative options in their admin view.

If User Type A logs in from the WP-Admin page, they would see a limited set of custom options in their admin panel. User Type B would see a different set of admin option from Type A, and so on...

How can I create a dynamic WP-admin panel using Wordpress?

Thanks,

1 Answer 1

1

WordPress admin pages are typically created using add_menu_page() function that takes care of menu entry and calls custom function (provided by you) to generate content of the page.

Obviously content of the page is arbitrary and should be easy to modify conditionally, using current_user_can() or other necessary checks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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