wc_get_product_tag_list()
Returns the product tags in a list.
Хуков нет.
Возвращает
Строку
.
Использование
wc_get_product_tag_list( $product_id, $sep, $before, $after );
- $product_id(int) (обязательный)
- Product ID.
- $sep(строка)
- .
По умолчанию: ', ' - $before(строка)
- .
По умолчанию: '' - $after(строка)
- .
По умолчанию: ''
Код wc_get_product_tag_list() wc get product tag list WC 8.7.0
function wc_get_product_tag_list( $product_id, $sep = ', ', $before = '', $after = '' ) { return get_the_term_list( $product_id, 'product_tag', $before, $sep, $after ); }