Try changing your line
'edit.php?post_type=products',
to
'edit.php?post_type=product',
instead.
Simple but it worked for me.
Related Posts:
- Changing Admin Menu Labels
- Remove dashboard, use Pages tab as default
- Add “external” link to admin menu in the backend
- How to display the user that published a pending post?
- How to remove the site health dashboard widget?
- Copy my user account’s wp-admin dashboard layout to other users?
- Make sub menu items a main link in the admin menu using fuctions.php
- How to disable or hide “collapse menu”
- Dashboard links not working
- Removing admin bar from wordpress dashboard
- Can’t access dashboard, connection times out (other pages work fine)
- wp-admin does not redirect to dashboard
- Cannot log into WordPress Dashboard after removing/adding .htaccess
- Custom WordPress Dashboard for Specific user role
- Show Welcome Panel on Dashboard for every user
- Prevent /wp-admin/ from redirecting to homepage?
- How do I set the homepage to the WordPress Admin Dashboard login?
- Create a fullwidth dashboard widget
- Woocommerce: Add column to ORDERS admin page with items purchased
- Locked Out Of WordPress Admin Dashboard After Server Move
- Wp-admin is giving me an error “Sorry, you are not allowed to access this page.”. I do have access to the wp-admin besides the dashboard itself
- WP-Admin shows (1) update but there is no update for plugin, theme or WordPress
- White screen of death in Dashboard after clean installation
- How do I let logged out users see the dashboard?
- How can I replace dashboard.css and dashboard.min.css (not add new css)
- WP admin user search doesn’t return all users
- can not access wp-admin after migrating to openshift
- How do you force the wordpress dashboard to be 1 coulmn by default?
- How to remove dashboard access (wp-admin) for author but not disable the capabilities?
- always by default show welcome panel in the dashboard
- Dashboard Widget CSS
- Admin top level menu, pointing to an external url
- how can I change the font on Edit Post area (admin dashboard)
- Dashboard : remove Safari navigator message
- Change maxlength of link_description in dashbord link section?
- Trying to create a page as a menu item in the admin while keeping the admen panel visible
- Broken Customizer page
- I can’t access my wp admin dashboard
- Step by step guide for new users on how to post content?
- How to log into WordPress via GET/POST
- Localhost install: Administrator lost administrator access; cannot access Dashboard
- Getting 404s in wp-admin after logged in
- Making changes to woocommerce order before save
- Cannot login in WordPress even after changing hash password in phpmyadmin
- Admin section showing CUSTOM Permalink structure thus resulting in permission error [closed]
- Unable to access dashboard (wp-admin) only
- Launch wordpress site to local computer from live website backed-up
- All of my WordPress sites have Bold Open Sans
- How to make the Panel // WP-Admin lighter via Mobile
- How can you change the admin dashboard URL without symlinking?
- sortable custom column in media library
- how do I force a single column layout in screen layout
- Sortable admin columns, when data isn’t coming from post_meta
- wp_list_table search box does not show
- How to Display Post Excerpts in Admin by Default?
- What is the capability that permits access to WP-Admin?
- WordPress in sub directory wp-admin problem
- Admin account only shows Profile and Dashboard with no activity
- Adding body class to login page?
- Edit a WordPress site without the username and password?
- How to Change the Title of a Meta Box on a Specified Custom Post Type? [duplicate]
- WordPress admin menu gap when debug mode is enabled?
- Call to undefined function insert_with_markers
- How can I remove the new stats message? [closed]
- Why can’t I exclude private posts from this query?
- Cannot Access Admin Area After Migration
- Modify wp-admin page header ‘viewport’ meta data
- Having troubles connecting to WordPress login page using Mamp
- Where can I find admin-header.php file online?
- class-wp-hook.php on line 288
- Is it possible to create two different wp-admins for a wp website
- Am I able to change the name of /wp-admin/options-general.php?
- blocking the admin section (but still using admin-ajax.php)
- WP Admin messed up
- wp-login not found – All usual solutions not working
- Displaying Title in Title Tag on Edit page?
- Cannot change Connection Information in admin interface
- WordPress blog clone.. wp-admin issue
- How to take the help button and link off the dashboard
- How do I fix wp-admin error when exporting reusable blocks?
- Can’t acces login on new site
- WordPress Admin Panel Left Sidebar No showing on Post create page
- How to remove the color picker code from users-edit.php
- wp-config.php not affecting my site
- How to prevent spams from admin-ajax.php file?
- After changing Site http to https, can’t access wp login page with a digitalocean hosting
- Strange wp-admin problem for all users/adminstrators except the original one?
- How to fix spacing in address tab in my account page
- adding existing menu page on new customer user role
- stop customize.php redirect to login page if admin is not logged in
- wp_query beginner
- Organising and display thousands of photos in media library
- Checkbox not showing as checked on UserProfile (even with checked=”checked”)
- Get URL of current featured image with JS in edit post view
- Block tools menu in wp-admin?
- WordPress Admin: open popup window on a custom button
- No HTML/Visual mode option in admin panel (New Post)
- Removing Author name
- WordPress blog fails to open
- Extend user search in the Wp backend area on the users.php page to allow for searching by email domain and role from the “users search” input box