ProductVariationsClassicRedesign
in package
Loads assets for the product variations classic redesign feature.
Table of Contents
- ATTRIBUTES_ROOT_ID = 'woocommerce-product-attributes-classic-root'
- FEATURE_ID = 'product-variations-classic-redesign'
- ROOT_ID = 'woocommerce-variations-classic-root'
- SCRIPT_HANDLE = 'wc-experimental-products-app'
- SCRIPT_PATH = 'experimental-products-app'
- __construct() : mixed
- Constructor
- enqueue_scripts() : void
- Enqueue scripts and styles for the variations table.
- is_legacy_variation_edit() : bool
- Returns true if the user has requested legacy editing for a specific variation.
- is_product_edit_page() : bool
- Returns true if we are on a product edit screen.
Constants
ATTRIBUTES_ROOT_ID
public
mixed
ATTRIBUTES_ROOT_ID
= 'woocommerce-product-attributes-classic-root'
FEATURE_ID
public
mixed
FEATURE_ID
= 'product-variations-classic-redesign'
ROOT_ID
public
mixed
ROOT_ID
= 'woocommerce-variations-classic-root'
SCRIPT_HANDLE
public
mixed
SCRIPT_HANDLE
= 'wc-experimental-products-app'
SCRIPT_PATH
public
mixed
SCRIPT_PATH
= 'experimental-products-app'
Methods
__construct()
Constructor
public
__construct() : mixed
Return values
mixed —enqueue_scripts()
Enqueue scripts and styles for the variations table.
public
enqueue_scripts() : void
Return values
void —is_legacy_variation_edit()
Returns true if the user has requested legacy editing for a specific variation.
public
static is_legacy_variation_edit() : bool
Return values
bool —is_product_edit_page()
Returns true if we are on a product edit screen.
public
static is_product_edit_page() : bool
