WC_Product_Download::offsetExists()
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 8.7.0
public function offsetExists( $offset ) { return in_array( $offset, array_keys( $this->data ), true ); }