composer install', '' . esc_html( str_replace( ABSPATH, '', __DIR__ ) ) . '' ); ?>

register( Automattic\WooCommerce\Blocks\Domain\Package::class, function ( $container ) { // leave for automated version bumping. $version = '2.5.0-dev'; return new Automattic\WooCommerce\Blocks\Domain\Package( $version, __FILE__ ); } ); // register Bootstrap. $container->register( Automattic\WooCommerce\Blocks\Domain\Bootstrap::class, function ( $container ) { return new Automattic\WooCommerce\Blocks\Domain\Bootstrap( $container ); } ); } return $container; } add_action( 'plugins_loaded', 'wc_blocks_bootstrap' ); /** * Boostrap WooCommerce Blocks App */ function wc_blocks_bootstrap() { // initialize bootstrap. wc_blocks_container()->get( Automattic\WooCommerce\Blocks\Domain\Bootstrap::class ); }