WordPress at Your Fingertips
function is not described

WC_Product_CSV_Exporter::get_column_value_category_ids() protected WC 3.1.0

Get product_cat value.

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

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_column_value_category_ids( $product );
$product(WC_Product) (required)
Product being exported.

Changelog

Since 3.1.0 Introduced.

Code of WC_Product_CSV_Exporter::get_column_value_category_ids() WC 5.9.0

protected function get_column_value_category_ids( $product ) {
	$term_ids = $product->get_category_ids( 'edit' );
	return $this->format_term_ids( $term_ids, 'product_cat' );
}