MZ Using RMMV plugin commands in RMMZ

Hi, I'm trying to adapt old MV plugins to a MZ project and the first wall I've found is that plugin commands don't work in MZ. Looking through the forum I found this guide on making plugin commands in MZ:
Does anyone know if this will work if I just register the commands like this guide states?

Original thread: https://forums.rpgmakerweb.com/threads/using-rmmv-plugin-commands-in-rmmz.141348/