public function delete_all_items() {
        // Cleanup all items.
        $items = $this->get_items();
        foreach ($items as $item) {
            if ($this->can_delete()) {
                $this->delete_item($item);
            }
        }
    }
public function delete_all_items() {
        // Cleanup all items.
        $items = $this->get_items();
        foreach ($items as $item) {
            if ($this->can_delete()) {
                $this->delete_item($item);
            }
        }
    }
public function delete_all_items ( ) { // Cleanup all items. $ items = $ this -> get_items ( ) ; foreach ( $ items as $ item ) { if ( $ this -> can_delete ( ) ) { $ this -> delete_item ( $ item ) ; } } }
Empty the recycle bin.
Empty the recycle bin .