Hi,
Please add this code in the function.php of the current active theme :
add_filter( 'wcmp_product_list_bulk_actions', 'wcmp_remove_product_delete_option', 10);
function wcmp_remove_product_delete_option($bulk_action){
unset($bulk_action['trash']);
unset($bulk_action['untrash']);
unset($bulk_action['delete']);
return $bulk_action;
}
add_filter('wcmp_vendor_product_list_row_actions_column', 'wcmp_remove_product_remove_actions', 10);
function wcmp_remove_product_remove_actions( $actions_col ){
unset($actions_col['restore']);
unset($actions_col['delete']);
unset($actions_col['trash']);
return $actions_col;
}
Copy
Regards,