WC_Helper_Compat::plugin_deactivation_notice()public staticWC 1.0

Display admin notice directing the user where to go.

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

Хуков нет.


null. Ничего.


$result = WC_Helper_Compat::plugin_deactivation_notice();

Код WC_Helper_Compat::plugin_deactivation_notice() WC 7.3.0

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>