Automattic\WooCommerce\Blocks

Library::register_blockspublic staticWC 1.0

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

Register blocks, hooking up assets and render functions as needed.

Method of the class: Library{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = Library::register_blocks();

Changelog

Deprecated since 5.0.0

Library::register_blocks() code WC 11.0.1

public static function register_blocks() {
	_deprecated_function( 'Library::register_blocks', '5.0.0' );
}