WC_Product_CSV_Exporter::get_column_value_tag_ids
Get product_tag value.
Method of the class: WC_Product_CSV_Exporter{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->get_column_value_tag_ids( $product );
- $product(WC_Product) (required)
- Product being exported.
Changelog
| Since 3.1.0 | Introduced. |
WC_Product_CSV_Exporter::get_column_value_tag_ids() WC Product CSV Exporter::get column value tag ids code WC 10.5.0
protected function get_column_value_tag_ids( $product ) {
$term_ids = $product->get_tag_ids( 'edit' );
return $this->format_term_ids( $term_ids, 'product_tag' );
}