Automattic\WooCommerce\Blocks\Domain

Bootstrap::is_built()protectedWC 1.0

See if files have been built or not.

Метод класса: Bootstrap{}

Хуков нет.

Возвращает

true|false.

Использование

// protected - в коде основоного (родительского) или дочернего класса
$result = $this->is_built();

Код Bootstrap::is_built() WC 8.7.0

protected function is_built() {
	return file_exists(
		$this->package->get_path( 'assets/client/blocks/featured-product.js' )
	);
}