PATH:
home
/
letacommog
/
laindinois
/
OLD
/
wp-content
/
plugins
/
woo-gutenberg-products-block
/
assets
/
js
/** * External dependencies */ import { getCategories, setCategories } from '@wordpress/blocks'; import { __ } from '@wordpress/i18n'; /** * Internal dependencies */ import '../css/editor.scss'; import '../css/style.scss'; import { IconWoo } from './components/icons'; setCategories( [ ...getCategories().filter( ( { slug } ) => slug !== 'woocommerce' ), // Add a WooCommerce block category { slug: 'woocommerce', title: __( 'WooCommerce', 'woo-gutenberg-products-block' ), icon: <IconWoo />, }, ] );
[+]
..
[+]
blocks-registry
[+]
components
[-] index.js
[edit]
[+]
base
[+]
data
[+]
utils
[+]
hocs
[+]
previews
[+]
settings
[+]
blocks
[+]
atomic
[+]
legacy