関数
ComboGroup::deleteComboGroup( int $groupId )
パラメータ パラメータ
- $groupId
(数値) (必須)
ファイル: src/API/ComboGroup.php
public static function deleteComboGroup($groupId) { global $wpdb; $csgt = Schema::getComboSetGroupsTable(); $res = $wpdb->delete($csgt, ['id' => $groupId], ['%d']); if ($res === false) { return Master::getErrorStore()->getErrorResponse(ErrorStore::INTERNAL_SERVER_ERROR); } return true; }