WC_Product::get_brand_ids
Get brand ids.
Метод класса: WC_Product{}
Хуков нет.
Возвращает
array.
Использование
$WC_Product = new WC_Product(); $WC_Product->get_brand_ids( $context );
- $context(строка)
- What the value is for. Valid values are view and edit.
По умолчанию:'view'
Список изменений
| С версии 10.3.0 | Введена. |
Код WC_Product::get_brand_ids() WC Product::get brand ids WC 11.1.2
public function get_brand_ids( $context = 'view' ) {
return $this->get_prop( 'brand_ids', $context );
}