remove link to items in output #200

This commit is contained in:
Vinícius Nunes 2019-12-17 10:35:48 -03:00
parent eb0a4a0fee
commit bf7447ce0a
1 changed files with 2 additions and 7 deletions

View File

@ -83,13 +83,8 @@ class Bulk_Edit_Process extends Generic_Process {
}
public function get_output() {
$bulk_edit_options = $this->get_options();
$collection_id = $bulk_edit_options['collection_id'];
$group_id = $this->get_group_id();
$meta_key = $this->meta_key;
$url_paramenters = "metaquery[0][key]=$meta_key&metaquery[0][value][0]=$group_id&metaquery[0][compare]=IN";
$message = __('Bulk edit finished, view items:', 'tainacan');
return "$message <a href='#/collections/$collection_id/items?$url_paramenters'>Link</a>";
$message = __('Bulk edit finished', 'tainacan');
return $message;
}
public function set_bulk_edit_data($bulk_edit_data = false) {