ActionScheduler_ListTable::bulk_delete()
Bulk delete
Deletes actions based on their ID. This is the handler for the bulk delete. It assumes the data properly validated by the callee and it will delete the actions without any extra validation.
Method of the class: ActionScheduler_ListTable{}
No Hooks.
Return
null
. Nothing.
Usage
// protected - for code of main (parent) or child class $result = $this->bulk_delete( $ids, $ids_sql );
- $ids(array) (required)
- -
- $ids_sql(string) (required)
- Inherited and unused
ActionScheduler_ListTable::bulk_delete() ActionScheduler ListTable::bulk delete code WC 7.5.1
protected function bulk_delete( array $ids, $ids_sql ) { foreach ( $ids as $id ) { $this->store->delete_action( $id ); } }