diff --git a/modules/ppcp-blocks/src/PayPalPaymentMethod.php b/modules/ppcp-blocks/src/PayPalPaymentMethod.php index 8d9f88540..aaeec3ea3 100644 --- a/modules/ppcp-blocks/src/PayPalPaymentMethod.php +++ b/modules/ppcp-blocks/src/PayPalPaymentMethod.php @@ -262,7 +262,7 @@ class PayPalPaymentMethod extends AbstractPaymentMethodType { */ private function is_editing(): bool { if ( ! function_exists( 'get_current_screen' ) ) { - return true; + return false; } $screen = get_current_screen(); return $screen && $screen->is_block_editor();