WC_Product_Download::offsetExists() public WC 1.0
OffsetExists.
{} Это метод класса: WC_Product_Download{}
Хуков нет.
Возвращает
true/false.
Использование
$WC_Product_Download = new WC_Product_Download(); $WC_Product_Download->offsetExists( $offset );
- $offset(строка) (обязательный)
- Offset.
Код WC_Product_Download::offsetExists() WC Product Download::offsetExists WC 5.0.0
public function offsetExists( $offset ) {
return in_array( $offset, array_keys( $this->data ), true );
}