Skip to content

Commit

Permalink
Change the default value to false
Browse files Browse the repository at this point in the history
  • Loading branch information
BurakParsAydin committed Feb 28, 2025
1 parent f6ebc16 commit 1992336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-payment-gateway-wcpay.php
Original file line number Diff line number Diff line change
Expand Up @@ -4446,7 +4446,7 @@ private function upe_needs_redirection( $payment_methods ) {
*/
public function disable_woopay() {
// Filter: disable_woopay.
$disable = apply_filters( 'disable_woopay', true );
$disable = apply_filters( 'disable_woopay', false );

// disable WooPay by updating the option to 'no'.
if ( $disable ) {
Expand Down

0 comments on commit 1992336

Please sign in to comment.