Edit File by line
/home/zeestwma/richards.../wp-conte.../plugins/woocomme.../src/Blocks
File: Library.php
<?php
[0] Fix | Delete
namespace Automattic\WooCommerce\Blocks;
[1] Fix | Delete
[2] Fix | Delete
use Automattic\WooCommerce\Blocks\BlockTypes\AtomicBlock;
[3] Fix | Delete
use Automattic\WooCommerce\Blocks\Package;
[4] Fix | Delete
use Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry;
[5] Fix | Delete
use Automattic\WooCommerce\Blocks\Assets\Api as AssetApi;
[6] Fix | Delete
use Automattic\WooCommerce\Blocks\Integrations\IntegrationRegistry;
[7] Fix | Delete
[8] Fix | Delete
/**
[9] Fix | Delete
* Library class.
[10] Fix | Delete
*
[11] Fix | Delete
* @deprecated 5.0.0 This class will be removed in a future release. This has been replaced by BlockTypesController.
[12] Fix | Delete
* @internal
[13] Fix | Delete
*/
[14] Fix | Delete
class Library {
[15] Fix | Delete
[16] Fix | Delete
/**
[17] Fix | Delete
* Initialize block library features.
[18] Fix | Delete
*
[19] Fix | Delete
* @deprecated 5.0.0
[20] Fix | Delete
*/
[21] Fix | Delete
public static function init() {
[22] Fix | Delete
_deprecated_function( 'Library::init', '5.0.0' );
[23] Fix | Delete
}
[24] Fix | Delete
[25] Fix | Delete
/**
[26] Fix | Delete
* Register custom tables within $wpdb object.
[27] Fix | Delete
*
[28] Fix | Delete
* @deprecated 5.0.0
[29] Fix | Delete
*/
[30] Fix | Delete
public static function define_tables() {
[31] Fix | Delete
_deprecated_function( 'Library::define_tables', '5.0.0' );
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
/**
[35] Fix | Delete
* Register blocks, hooking up assets and render functions as needed.
[36] Fix | Delete
*
[37] Fix | Delete
* @deprecated 5.0.0
[38] Fix | Delete
*/
[39] Fix | Delete
public static function register_blocks() {
[40] Fix | Delete
_deprecated_function( 'Library::register_blocks', '5.0.0' );
[41] Fix | Delete
}
[42] Fix | Delete
}
[43] Fix | Delete
[44] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function