get_brands()
Polyfill for get_brands.
Хуков нет.
Возвращает
array. List of terms
Использование
get_brands( $post_id, $sep, $before, $after );
- $post_id(int)
- Post ID .
По умолчанию:0) - $sep(строка)
- Seperator .
По умолчанию:') - $before(строка)
- Before item .
По умолчанию:'' - $after(строка)
- After item .
По умолчанию:''
Код get_brands() get brands WC 11.1.2
function get_brands( $post_id = 0, $sep = ', ', $before = '', $after = '' ) {
return wc_get_brands( $post_id, $sep, $before, $after );
}