$plugin
$plugin :
Factory to create/return the shared plugin instance.
create(string $file,string $version): \Barn2\Plugin\WC_Protected_Categories\Plugin
Create/return the shared plugin instance.
string | $file | The plugin file |
string | $version | The current plugin version |
The plugin instance