Automattic\WooCommerce\Blocks

Library::register_blocks()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 blocks, hooking up assets and render functions as needed.

Method of the class: Library{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Library::register_blocks();

Changelog

Deprecated since 5.0.0

Library::register_blocks() code WC 9.0.1

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