Hide Entire Skill Type In Menu

So I'm able to hide skill types within the battle menu with Waynee's Skill Core Add-On plugin.
However, I need help trying to hide the skill type in the main menu.
Any help would be appreciated.
PHP:
Window_SkillType.prototype.makeCommandList = function () {
    if (this._actor) {
        var skillTypes = this._actor.addedSkillTypes();
        skillTypes.sort(function (a, b) {
            return a - b;
        });
        skillTypes = skillTypes.filter(function (stype) {
            // Exclude all numbers that are in that array
            return ![1, 2, 3].contains(stype);
        });
        skillTypes.forEach(function (stypeId) {
            var name = $dataSystem.skillTypes[stypeId];
            this.addCommand(name, 'skill', true, stypeId);
        }, this);
    }
};
This would exclude Skill Types 1, 2 and 3. Just add any numbers you want to that array. But this would affect all actors.
PHP:
Window_SkillType.prototype.makeCommandList = function () {
    if (this._actor) {
        var skillTypes = this._actor.addedSkillTypes();
        skillTypes.sort(function (a, b) {
            return a - b;
        });
        skillTypes = skillTypes.filter(function (stype) {
            // Exclude all numbers that are in that array
            return ![1, 2, 3].contains(stype);
        });
        skillTypes.forEach(function (stypeId) {
            var name = $dataSystem.skillTypes[stypeId];
            this.addCommand(name, 'skill', true, stypeId);
        }, this);
    }
};
This would exclude Skill Types 1, 2 and 3. Just add any numbers you want to that array. But this would affect all actors.
i dont deserve ur luv bb <3

Original thread: https://forums.rpgmakerweb.com/threads/hide-entire-skill-type-in-menu.83754/