WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin

Loader::define_tables() public WC 1.0

Add custom tables to $wpdb object.

{} It's a method of the class: Loader{}

No Hooks.

Return

null. Nothing.

Usage

$result = Loader::define_tables();

Code of Loader::define_tables() WC 5.8.0

public static function define_tables() {
	global $wpdb;

	// List of tables without prefixes.
	$tables = array(
		'wc_category_lookup' => 'wc_category_lookup',
	);

	foreach ( $tables as $name => $table ) {
		$wpdb->$name    = $wpdb->prefix . $table;
		$wpdb->tables[] = $table;
	}
}