How do I add a custom tab?

I want to add a tab using an Editor Script.

I’ve got an Editor folder in Assets, with a script that I call TabHandler.cs. I want to use this class to make any tabs where there is File, Edit, GameObject, Assets, etc.

How can I accomplish this?

Menu Items