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.
Метод класса: WC_Helper_Updater{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$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 WC 9.4.2
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 ); } }