function ad_delete_multiple in Advertisement 7.2
Deletes multiple ads by ID.
Parameters
$aids: An array of ad IDs to delete.
Return value
TRUE on success, FALSE otherwise.
File
- ./
ad.module, line 350 - Defines the core ad entity, including the entity itself, the bundle definitions (ad types), and various API functions to manage ads and interact with them through forms and autocompletes.
Code
function ad_delete_multiple($aids) {
return entity_get_controller('ad')
->delete($aids);
}