@@ -31,7 +31,6 @@ class WC_Payments_Features {
3131 const TOKENIZED_CART_ECE_FLAG_NAME = '_wcpay_feature_tokenized_cart_ece ' ;
3232 const PAYMENT_OVERVIEW_WIDGET_FLAG_NAME = '_wcpay_feature_payment_overview_widget ' ;
3333 const WOOPAY_GLOBAL_THEME_SUPPORT_FLAG_NAME = '_wcpay_feature_woopay_global_theme_support ' ;
34- const PROMPT_MERCHANT_FOR_REVIEW_FLAG_NAME = '_wcpay_feature_prompt_merchant_for_review ' ;
3534
3635 /**
3736 * Indicates whether card payments are enabled for this (Stripe) account.
@@ -372,14 +371,13 @@ public static function is_next_deposit_notice_dismissed(): bool {
372371 public static function to_array () {
373372 return array_filter (
374373 [
375- 'multiCurrency ' => self ::is_customer_multi_currency_enabled (),
376- 'woopay ' => self ::is_woopay_eligible (),
377- 'documents ' => self ::is_documents_section_enabled (),
378- 'woopayExpressCheckout ' => self ::is_woopay_express_checkout_enabled (),
379- 'isAuthAndCaptureEnabled ' => self ::is_auth_and_capture_enabled (),
380- 'isDisputeIssuerEvidenceEnabled ' => self ::is_dispute_issuer_evidence_enabled (),
381- 'isPaymentOverviewWidgetEnabled ' => self ::is_payment_overview_widget_ui_enabled (),
382- 'isMerchantFeedbackPromptDevFlagEnabled ' => self ::is_merchant_feedback_prompt_dev_flag_enabled (),
374+ 'multiCurrency ' => self ::is_customer_multi_currency_enabled (),
375+ 'woopay ' => self ::is_woopay_eligible (),
376+ 'documents ' => self ::is_documents_section_enabled (),
377+ 'woopayExpressCheckout ' => self ::is_woopay_express_checkout_enabled (),
378+ 'isAuthAndCaptureEnabled ' => self ::is_auth_and_capture_enabled (),
379+ 'isDisputeIssuerEvidenceEnabled ' => self ::is_dispute_issuer_evidence_enabled (),
380+ 'isPaymentOverviewWidgetEnabled ' => self ::is_payment_overview_widget_ui_enabled (),
383381 ]
384382 );
385383 }
@@ -395,13 +393,4 @@ private static function is_woopayments_gateway_enabled() {
395393
396394 return 'yes ' === $ woopayments_enabled_setting ;
397395 }
398-
399- /**
400- * This is a temporary development flag for the merchant feedback prompt (see issue #10323) that will be removed once the feature is ready for production.
401- *
402- * @return bool
403- */
404- public static function is_merchant_feedback_prompt_dev_flag_enabled (): bool {
405- return '1 ' === get_option ( self ::PROMPT_MERCHANT_FOR_REVIEW_FLAG_NAME , '0 ' );
406- }
407396}
0 commit comments