PluginProbe
WooCommerce / 11.1.0-rc.2
WooCommerce v11.1.0-rc.2
11.1.0 11.1.0-rc.2 11.1.0-rc.1 11.1.0-beta.2 11.1.0-beta.1 11.0.1 11.0.0 11.0.0-rc.3 11.0.0-rc.2 11.0.0-rc.1 11.0.0-beta.2 11.0.0-beta.1 10.9.4 10.9.3 10.9.2 10.9.1 10.9.0 10.9.0-rc.1 10.9.0-beta.2 10.9.0-beta.1 10.8.1 10.8.0 10.8.0-rc.1 10.8.0-beta.2 10.8.0-beta.1 All 648 releases
woocommerce / src / Blocks / Library.php
Library.php
45 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 namespace Automattic\WooCommerce\Blocks;
3
4 use Automattic\WooCommerce\Blocks\BlockTypes\AtomicBlock;
5 use Automattic\WooCommerce\Blocks\Package;
6 use Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry;
7 use Automattic\WooCommerce\Blocks\Assets\Api as AssetApi;
8 use Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry;
9
10 /**
11 * Library class.
12 *
13 * @deprecated 5.0.0 This class will be removed in a future release. This has been replaced by BlockTypesController.
14 * @internal
15 */
16 class Library {
17
18 /**
19 * Initialize block library features.
20 *
21 * @deprecated 5.0.0
22 */
23 public static function init() {
24 _deprecated_function( 'Library::init', '5.0.0' );
25 }
26
27 /**
28 * Register custom tables within $wpdb object.
29 *
30 * @deprecated 5.0.0
31 */
32 public static function define_tables() {
33 _deprecated_function( 'Library::define_tables', '5.0.0' );
34 }
35
36 /**
37 * Register blocks, hooking up assets and render functions as needed.
38 *
39 * @deprecated 5.0.0
40 */
41 public static function register_blocks() {
42 _deprecated_function( 'Library::register_blocks', '5.0.0' );
43 }
44 }
45