WC_Helper_Compat::plugin_deactivation_notice()public staticWC 1.0

Display admin notice directing the user where to go.

Method of the class: WC_Helper_Compat{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = WC_Helper_Compat::plugin_deactivation_notice();

WC_Helper_Compat::plugin_deactivation_notice() code WC 9.7.1

<?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
}