WC_Product_CSV_Importer::parse_int_field()
Parse an int value field
Метод класса: WC_Product_CSV_Importer{}
Хуков нет.
Возвращает
int
.
Использование
$WC_Product_CSV_Importer = new WC_Product_CSV_Importer(); $WC_Product_CSV_Importer->parse_int_field( $value );
- $value(int) (обязательный)
- field value.
Код WC_Product_CSV_Importer::parse_int_field() WC Product CSV Importer::parse int field WC 9.8.1
public function parse_int_field( $value ) { // Remove the ' prepended to fields that start with - if needed. $value = $this->unescape_data( $value ); return intval( $value ); }