API
2 years ago
BlockTemplates
2 years ago
Composer
2 years ago
DateTimeProvider
4 years ago
Features
2 years ago
Marketing
2 years ago
Notes
3 years ago
Overrides
3 years ago
PluginsInstallLoggers
2 years ago
PluginsProvider
4 years ago
RemoteInboxNotifications
2 years ago
Schedulers
4 years ago
DataSourcePoller.php
3 years ago
DeprecatedClassFacade.php
2 years ago
FeaturePlugin.php
4 years ago
Loader.php
4 years ago
PageController.php
3 years ago
PluginsHelper.php
2 years ago
PluginsInstaller.php
4 years ago
ReportCSVEmail.php
2 years ago
ReportCSVExporter.php
3 years ago
ReportExporter.php
3 years ago
ReportsSync.php
3 years ago
WCAdminHelper.php
4 years ago
FeaturePlugin.php
53 lines
| 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 |