WC_Helper_Updater::setup_message_for_plugins_without_subscription()
Add the hook for modifying default WPCore update notices on the plugins management page. This is for plugins without a subscription.
Method of the class: WC_Helper_Updater{}
No Hooks.
Return
null
. Nothing (null).
Usage
$result = WC_Helper_Updater::setup_message_for_plugins_without_subscription();
WC_Helper_Updater::setup_message_for_plugins_without_subscription() WC Helper Updater::setup message for plugins without subscription code WC 9.5.1
public static function setup_message_for_plugins_without_subscription() { foreach ( WC_Helper::get_local_woo_plugins() as $plugin ) { add_action( 'in_plugin_update_message-' . $plugin['_filename'], array( __CLASS__, 'display_notice_for_plugins_without_subscription' ), 10, 2 ); } }