WC_Helper_Compat::plugin_deactivation_notice()public staticWC 1.0

Display admin notice directing the user where to go.

Метод класса: WC_Helper_Compat{}

Хуков нет.

Возвращает

null. Ничего (null).

Использование

$result = WC_Helper_Compat::plugin_deactivation_notice();

Код WC_Helper_Compat::plugin_deactivation_notice() WC 9.4.2

<?php
public static function plugin_deactivation_notice() {
	?>
	<div id="message" class="error is-dismissible">
		<p><?php printf( __( 'The WooCommerce Helper plugin is no longer needed. <a href="%s">Manage subscriptions</a> from the extensions tab instead.', 'woocommerce' ), esc_url( admin_url( 'admin.php?page=wc-addons&section=helper' ) ) ); ?></p>
	</div>
	<?php
}