Automattic\WooCommerce\Blocks

Assets::enqueue_scripts()public staticWC 1.0

Deprecated from version 5.0.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Register the vendors style file. We need to do it after the other files because we need to check if wp-edit-post has been enqueued.

Method of the class: Assets{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Assets::enqueue_scripts();

Changelog

Deprecated since 5.0.0

Assets::enqueue_scripts() code WC 9.8.2

public static function enqueue_scripts() {
	_deprecated_function( 'Assets::enqueue_scripts', '5.0.0' );
}