WordPress at a glance
function is not described

Automattic\WooCommerce\Admin

CategoryLookup::get_insert_sql() protected WC 1.0

Get category lookup table values to insert.

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

No Hooks.

Return

String. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_insert_sql( $category_id, $category_tree_id );
$category_id(int) (required)
Category ID to insert.
$category_tree_id(int) (required)
Tree to insert into.

Code of CategoryLookup::get_insert_sql() WC 5.2.2

<?php
protected function get_insert_sql( $category_id, $category_tree_id ) {
	global $wpdb;
	return $wpdb->prepare( '(%d,%d)', $category_id, $category_tree_id );
}