WC_Helper_Updater::setup_message_for_expired_and_expiring_subscriptions()public staticWC 1.0

Add the hook for modifying default WPCore update notices on the plugins management page.

Method of the class: WC_Helper_Updater{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Helper_Updater::setup_message_for_expired_and_expiring_subscriptions();

WC_Helper_Updater::setup_message_for_expired_and_expiring_subscriptions() code WC 9.3.1

public static function setup_message_for_expired_and_expiring_subscriptions() {
	foreach ( WC_Helper::get_local_woo_plugins() as $plugin ) {
		add_action( 'in_plugin_update_message-' . $plugin['_filename'], array( __CLASS__, 'display_notice_for_expired_and_expiring_subscriptions' ), 10, 2 );
	}
}