Using Yanfly’s “Item Categories” plugin to show an option on the main menu

Hello!

Not sure if this is the right section to post this in, but I wanted to do the following:

I have a section in the items portion of my menu (using Yanfly item core) with 4 options: regular items, hidden items, hidden items 2, and a custom section using Yanfly’s item categories plugin, let’s call it Trading Cards.

I don’t know if it’s possible, but I’d like to show this custom category on the main Menu (I’m using Yanfly’s main menu manager) to show as such:

Items (already have done)
Trading Cards (I want this option here, using the custom category tag in Yanfly’s Item Categories extra plugin if possible)
Quests (already have done)
Save (already have done)
Quit (already have done)

I’ve looked through the documentation in Yanfly’s Main Menu core and I know I have to call a function, and this may be the solution but I’m not sure how. I’ve searched the forum for similar and couldn’t find an answer. If somebody had any ideas that would be fantastic.
I have moved this thread from JS Plugin Releases (RMMV) to JavaScript/Plugin Support.
Trading Cards (I want this option here, using the custom category tag in Yanfly’s Item Categories extra plugin if possible)
What exactly do you want this option to trigger?

the main menu and the item menu are two separate scenes in the engine's code. Yanfly's plugin only modifies the item scene, so you can't use it to create a new option on other scenes. Yanfly has other plugins that deal with the menu scene though, I believe one of them lets you to add options to it, that's what you should look into first.

Original thread: https://forums.rpgmakerweb.com/threads/using-yanflys-item-categories-plugin-to-show-an-option-on-the-main-menu.162361/