Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tab Creation
#1
I'm creating my first customer tabs. I simply created the file and the tab appears, but only admin has permission to click on it. Help? Thx
Reply
#2
Is this on front end or in admin?

Can you paste code you are using to do this?


GS Community Edition with php8.x compatibility, new features and much more!  Support Me


Reply
#3
(2023-11-28, 22:40:17)islander Wrote: Is this on front end or in admin?

Can you paste code you are using to do this?

Backend Admin.  I'm creating a Tab at the top menu. All I've done is create a php file in the plugins directory with this:  add_action( 'nav-tab', 'createNavTab', array( 'Products', '$thisfile', 'Products', 'prodFun' ) );

The tab appears but if I log into the admin as another user to test and click on the new tab, I get permission denied.  Thx
Reply




Users browsing this thread: 1 Guest(s)