Files
shuffle_and_skirmish_website/wp-content/plugins/woocommerce-payments/includes/notes/class-wc-payments-notes-additional-payment-methods.php
2025-11-24 21:33:55 +00:00

32 lines
714 B
PHP

<?php
/**
* Display a notice to merchants that have WCPay installed (and don't have UPE enabled)
* to inform them that they can enable additional payment methods.
*
* @package WooCommerce\Payments\Admin
*/
use Automattic\WooCommerce\Admin\Notes\NoteTraits;
defined( 'ABSPATH' ) || exit;
/**
* Class WC_Payments_Notes_Additional_Payment_Methods
*/
class WC_Payments_Notes_Additional_Payment_Methods {
use NoteTraits;
/**
* Name of the note for use in the database.
*/
const NOTE_NAME = 'wc-payments-notes-additional-payment-methods';
/**
* Get the note.
*/
public static function get_note() {
// The notice should not be shown anymore because UPE is the default now.
return false;
}
}