\Barn2\Plugin\WC_Protected_CategoriesPlugin_Factory

Factory to create/return the shared plugin instance.

Summary

Methods
Properties
Constants
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$plugin
N/A

Properties

$plugin

$plugin :

Type

Methods

create()

create(string  $file,string  $version): \Barn2\Plugin\WC_Protected_Categories\Plugin

Create/return the shared plugin instance.

Parameters

string $file

The plugin file

string $version

The current plugin version

Returns

\Barn2\Plugin\WC_Protected_Categories\Plugin

The plugin instance