The aim is for a proposed site to have customers be able to login and be able to view a private and customer specific ADMIN page NOT frontend page (although this would be much easier to achieve).
Said page would display user meta and content that the site Admin could add ad hoc.
I am confident in being able to create the menu item, page and populate with user meta, my understanding seems to fail when it comes to actually making said ADMIN page private on a customer by customer basis, and the bet way to add content to these pages by the admin.
Any pointers so I can get a better understanding, or indeed plugins that in part have these capabilities would be greatly appreciated.
Thanks
John
You can add a new page using
add_(sub)menu_page();
. WordPress is pretty kind in this case and offers tons of hooks, filters and higher level API functions that help you going around this.Let’s just use
add_users_page();
and hook intoadmin_menu
.Example plugin
It adds an admin page that has the
user_login
as slug.Simply drop this into your plugins folder and give it a test to see if this is what you’re looking for.
In my opinion your best bet is to meddle with Custom User Roles. By creating different user capabilities you have this option to control which user can see what and from that point it’s just a matter of creating different options pages for each user role.