To get the total discount amount applied through price rules for the order
To get the total discount amount applied through price rules for the order
if(class_exists('\Wdr\App\Router')){
$manage_discount = \Wdr\App\Router::$manage_discount;
$items = $order->get_items();
$total_discounts = $manage_discount->getItemTotalDiscount($items);
//Here you get the total discount amount applied through price rules $total_discounts
}