You can a custom admin page with add_menu_page
function.
The function has a argument $capability
which you can set the which users will be able to view and access the page
add_menu_page
https://developer.wordpress.org/reference/functions/add_menu_page/
Roles and capabilities
https://wordpress.org/support/article/roles-and-capabilities/
Related Posts:
- Create survey that redirects to sidebar menu customized to answers
- How can I create a navigation menu in the sidebar that can also act like a slider?
- Who are the most trusted plugin developers? [closed]
- Add section (add_settings_section) to a custom page (add_submenu_page)
- How Does WordPress Uninclude/Deactivate A Plugin?
- WordPress Capabilities: edit_user vs edit_users
- How to call “page specific menu items” in template [closed]
- Allowing Custom Capability to Manage Plugin Options
- Checking for user role in a custom plugin
- Allow Facebook to preview posts before published
- WordPress plugin for mail subscriptions [closed]
- How use %like% in sql statement wordpress
- Let user subscribe to specific categories
- Is there a way to alter the order in which the plugins appear in the page?
- How can I implement a notification system in wordpress?
- Set user ID at time of wp_create_user
- How to write a plugin to add users to a mail list
- Woocommerce plugin for minimum order and add-to-card-step
- How would I go about creating a user ranked post popularity page?
- Redirection of users away from wp-admin (but not administrators)
- How to set add question capability for author role in wp pro quiz plugin
- Can a Plugin Override New User Default Role Type
- Redirect to another page using contact form 7? [closed]
- Create a plugin from within WordPress
- Can I use Symfony components in a plugin that I want to submit to the WordPress plugin repository?
- How to automatically add edit link on frontpage post of any wordpress theme?
- creating a plug in that would tap into save/update action of posts [closed]
- breadcrumb need to show all pages and subpages
- Add User Role: Pre-saved in User-Meta [SOLVED]
- Possible?? Pull Plugin Property Data to a Theme’s Custom Post Type
- How to use existing hook in twentytwelve to all theme of wordpress?
- How To Create A File Archive in WordPress?
- How do i specify a url to which to redirect the user after he logs out from facebook?
- WordPress Membership Plugin Advice [closed]
- I cannot include a file in my plugin settings page
- How to get Recent Post From Each Category with Thumbnail?
- Allow a particular user to access a particular plugin?
- Personality quiz in wordpress using a plugin
- WP Forms not displaying,becomming an fatal error
- Access remote SFTP server via WordPress login?
- How to put a maximum real-time users limit
- How can I pass value to function in add_menu_page?
- Redirect url in plugin to somewhere else?
- Using Taxonomies with Vote It Up plugin chart [closed]
- contact form 7 captcha support anyother captcha plugin? [closed]
- Plugin: Custom menu item problem
- registration plugin [closed]
- Take Elementor For Email FIeld Check if user is registered. IF not registered then register on woocommerece
- how to make wordpress remember my choice
- I’m getting the following error: Fatal error: Uncaught Error: Call to undefined function oil_paint_regeneration() [closed]
- What are Seeds? [closed]
- WordPress site server getting blocked due to resource abuse
- How can I keep a WordPress dropdown menu open when navigating to a child page?
- What function can I use consistently to escape possible HTML for editing and display?
- Menus, but not by theme location
- Is it possible to use WordPress as an online portfolio for text content? What kind of theme would I look for?
- WordPress plugin for activating other plugins
- Any Short code Availble for Get Post List With Thumbnail Plugin?
- plugin development: problem with functions
- How can I get WordPress to save comments in markdown format?
- First WordPress Plugin – Stat Issues
- Plugin to host auctions on your site
- Getting a List of Categories for Use in a Plugin?
- Changing labels of status filters for post grid
- Can we use a webservice with WordPress?
- Where to call add_shortcode function in WordPress Plugin Boilerplate?
- How do I add a custom sub menu menu under Woo-commerce marketing?
- WooCommerce get_price returning wrong price when used via ajax
- How to ‘clone’ a wp plugin to make small changes
- How to load plugin after page is loaded – pagespeed issues
- Open Post Thumbnail in New Child Theme File in WordPress
- How to pull code snippet from functionality plugin?
- How to use get_theme_mod in gutenberg editor wordpress?
- MITM risk of not sanitizing?
- Get IDs of Images from Gallery Block in InnerBlocks of a Custom Gutenberg Block
- How to keep users unique id stored in session in addition to IP in WordPress plugin?
- Loco Translate: Custom Post and Custom Taxonomy Labels not translated in wp-admin menu
- Where should I save an API key of my user when installing my plugin?
- Reusable functions and tools (Framework)
- Is Wrapping intval() Around esc_attr() Redundant for Escaping Input?
- Programatically download a plugin
- Error shown for Trying to get property ‘roles’ of non-object in WordPress After Content for User Roles
- WordPress plugin – Error “Plugin generate 2890 characters of unexpected output when activated”
- React JSX in WordPress Plugin Development
- My plugin wants to update another plugin
- Redirecting to home page after login as custom role WordPress
- Add keywords meta to index.php page
- Custom form action to handle data inside a plugin
- Where (or when) should I register a new taxonomy?
- Self deactivate plugins after an action occurs
- How to get current post user id
- UnInstallation of a Plugin from a developers perspective – The correct and clean method
- Issue with adding count to “subsubsub” aka quick links on custom_post_type
- Pulling data from custom plugin settings using PHP shortcode and Javascript
- How to slice an array using posts_per_page? [closed]
- White page on custom plugin option submit
- Hook to plugins admin settings
- custom post type not showing in menu
- Simple ajax call not working in wordpress plugin
- Plugin version is not showing up in wordpress.org plugin directory