Automattic\WooCommerce\Admin

FeaturePlugin{}WC 1.0└─ DeprecatedClassFacade

Deprecated since since 6.4.0. It is no longer supported and may be removed in future releases. It is recommended to replace this function with the same one.

Feature plugin main class.

No Hooks.

Usage

$FeaturePlugin = new FeaturePlugin();
// use class methods

Methods

  1. public init()
  2. public instance()
  3. ERROR: no method name found on line ``
  4. protected __construct()
  5. ERROR: no method name found on line ``
  6. ERROR: no method name found on line ``
  7. ERROR: no method name found on line ``
  8. ERROR: no method name found on line ``
  9. ERROR: no method name found on line ``
  10. ERROR: no method name found on line ``
  11. ERROR: no method name found on line ``
  12. ERROR: no method name found on line ``
  13. ERROR: no method name found on line ``
  14. ERROR: no method name found on line ``

Changelog

Deprecated Since 6.4. 0

FeaturePlugin{} code WC 9.9.5

class FeaturePlugin extends DeprecatedClassFacade {
	/**
	 * The name of the non-deprecated class that this facade covers.
	 *
	 * @var string
	 */
	protected static $facade_over_classname = 'Automattic\WooCommerce\Internal\Admin\FeaturePlugin';

	/**
	 * The version that this class was deprecated in.
	 *
	 * @var string
	 */
	protected static $deprecated_in_version = '6.4.0';

	/**
	 * Constructor
	 *
	 * @return void
	 */
	protected function __construct() {}

	/**
	 * Get class instance.
	 *
	 * @return object Instance.
	 */
	final public static function instance() {
		return new static();
	}

	/**
	 * Init the feature plugin, only if we can detect both Gutenberg and WooCommerce.
	 *
	 * @deprecated 6.4.0
	 */
	public function init() {}
}