Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tab Creation
#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


Messages In This Thread
Tab Creation - by millermms - 2023-11-28, 12:17:49
RE: Tab Creation - by islander - 2023-11-28, 22:40:17
RE: Tab Creation - by millermms - 2023-11-29, 00:36:59



Users browsing this thread: 1 Guest(s)