if it is a deprecated function, why did they add it in the code example? is there a reason for this? and if it’s a deprecated function why did it show while the Show Deprecated button was turned off? and why did they pick getfenv() to create a plugin? and why did they add PluginManager() as a link while its the exact same page? also there is PluginManagementService, PluginDebugService which does nothing
They may not update all the documentation with every single update, and sometimes it get missed.
Instead of posting here you should report it as a Documentation Bug.
I’ve done it with a few minor things in the past and they usually tell me they are working on updating it.
I have sent a request to join bug reports reporting a bug for UI drag detectors, but it never got accepted so I can’t report bugs
if you can report it because it may confuse a lot of people who are reading the plugins docs for the first time