Automattic\WooCommerce\Admin\Features
NewProductManagementExperience::__construct()
Constructor
Method of the class: NewProductManagementExperience{}
No Hooks.
Return
null
. Nothing.
Usage
$NewProductManagementExperience = new NewProductManagementExperience(); $NewProductManagementExperience->__construct();
NewProductManagementExperience::__construct() NewProductManagementExperience:: construct code WC 7.5.0
public function __construct() { $this->maybe_show_disabled_notice(); if ( ! Features::is_enabled( 'new-product-management-experience' ) ) { return; } add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_styles' ) ); add_action( 'get_edit_post_link', array( $this, 'update_edit_product_link' ), 10, 2 ); }