Skip to content

Commit

Permalink
Merge pull request #725 from godaddy-wordpress/fix/bulk-charge-action
Browse files Browse the repository at this point in the history
Only render "Capture Charge" bulk action on orders page
  • Loading branch information
nmolham-godaddy authored Nov 26, 2024
2 parents c9a8c18 + 6706a87 commit 3e581b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function maybe_add_capture_charge_bulk_order_action() {
return;
}

if ( ! SV_WC_Order_Compatibility::is_orders_screen_for_status( 'trash' ) ) {
if ( SV_WC_Order_Compatibility::is_orders_screen() && ! SV_WC_Order_Compatibility::is_orders_screen_for_status( 'trash' ) ) {

$can_capture_charge = false;

Expand Down

0 comments on commit 3e581b7

Please sign in to comment.