Magento 2: Consequences of not Naming a plugin class `\Plugin`

So the official training slides/instruction say "The name of a plugin class or its virtual type; uses the naming convention \Plugin.". However, the solutions guide for the exercises creates a plugin without following that convention. So unless something has changed architecturally, I would say this is just a convention


In magento-2 ,The usage of plugin name in the classname is just a convention and is not mandatory as we use the observer class name.

The following is generalized syntax code of plugin :

<plugin name="plugin_name" type="class_name" />

where the type just holds the class name which needs to be instantiated.