WooCommerce Code Reference

Init
in package

Loads assets related to the product block editor.

Table of Contents

__construct()  : mixed
Constructor
enqueue_scripts()  : mixed
Enqueue scripts needed for the product form block editor.
enqueue_styles()  : mixed
Enqueue styles needed for the rich text editor.
is_product_data_view_page()  : mixed
Returns true if we are on a JS powered admin page.
woocommerce_add_new_products_dashboard()  : mixed
Replaces the default posts menu item with the new posts dashboard.
woocommerce_products_dashboard()  : mixed
Renders the new posts dashboard page.
has_data_views_support()  : mixed
Checks for data views support.

Methods

woocommerce_add_new_products_dashboard()

Replaces the default posts menu item with the new posts dashboard.

public woocommerce_add_new_products_dashboard() : mixed
Return values
mixed