PluginProbe
WooCommerce / 11.1.0
WooCommerce v11.1.0
11.1.0 11.1.0-rc.2 11.1.0-rc.1 11.1.0-beta.2 11.1.0-beta.1 11.0.1 11.0.0 11.0.0-rc.3 11.0.0-rc.2 11.0.0-rc.1 11.0.0-beta.2 11.0.0-beta.1 10.9.4 10.9.3 10.9.2 10.9.1 10.9.0 10.9.0-rc.1 10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 All 648 releases
woocommerce / src / Admin / FeaturePlugin.php
FeaturePlugin.php
53 lines 955 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * WooCommerce Admin: Feature plugin main class.
4 */
5
6 namespace Automattic\WooCommerce\Admin;
7
8 defined( 'ABSPATH' ) || exit;
9
10 /**
11 * Feature plugin main class.
12 *
13 * @deprecated since 6.4.0
14 */
15 class FeaturePlugin extends DeprecatedClassFacade {
16 /**
17 * The name of the non-deprecated class that this facade covers.
18 *
19 * @var string
20 */
21 protected static $facade_over_classname = 'Automattic\WooCommerce\Internal\Admin\FeaturePlugin';
22
23 /**
24 * The version that this class was deprecated in.
25 *
26 * @var string
27 */
28 protected static $deprecated_in_version = '6.4.0';
29
30 /**
31 * Constructor
32 *
33 * @return void
34 */
35 protected function __construct() {}
36
37 /**
38 * Get class instance.
39 *
40 * @return object Instance.
41 */
42 final public static function instance() {
43 return new static();
44 }
45
46 /**
47 * Init the feature plugin, only if we can detect both Gutenberg and WooCommerce.
48 *
49 * @deprecated 6.4.0
50 */
51 public function init() {}
52 }
53