WooCommerce Code Reference

html-notice-woo-updater-not-activated.php

Source code

<?php
/**
 * Helper Admin Notice - Woo Updater Plugin is not activated.
 *
 * @package WooCommerce\Views
 */

defined( 'ABSPATH' ) || exit;
?>
<div id="message" class="error woocommerce-message">
	<a class="woocommerce-message-close notice-dismiss" href="<?php echo esc_url( wp_nonce_url( add_query_arg( 'wc-hide-notice', 'woo_updater_not_activated' ), 'woocommerce_hide_notices_nonce', '_wc_notice_nonce' ) ); ?>"><?php esc_html_e( 'Dismiss', 'woocommerce' ); ?></a>
	<p>
		<?php
		echo wp_kses_post(
			sprintf(
			/* translators: 1: WP plugin management URL */
				__(
					'Please <a href="%1$s">activate the WooCommerce.com Update Manager</a> to continue receiving the updates and streamlined support included in your WooCommerce.com subscriptions.',
					'woocommerce'
				),
				esc_url( admin_url( 'plugins.php' ) ),
			)
		);
		?>
	</p>
</div>