関数
ComboSet::deleteComboSet( int $comboSetId )
説明 説明
This method will return 0
if no combo-set exists for the $comboSetId
provided
- $comboSetId
(数値) (必須)
ファイル: src/API/ComboSet.php
public static function deleteComboSet($comboSetId) { global $wpdb; $cst = Schema::getComboSetsTable(); $res = $wpdb->delete($cst, ['ID' => (int)$comboSetId], ['%d']); if ($res === false) { return Master::getErrorStore()->getErrorResponse(ErrorStore::INTERNAL_SERVER_ERROR); } return (int)$res; }