2019-08-05 09:18:17 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Helper admin navigation.
|
|
|
|
*
|
2020-08-05 16:36:24 +00:00
|
|
|
* @package WooCommerce\Helper
|
2019-08-05 09:18:17 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
defined( 'ABSPATH' ) || exit(); ?>
|
2017-05-30 16:46:26 +00:00
|
|
|
|
|
|
|
<nav class="nav-tab-wrapper woo-nav-tab-wrapper">
|
2019-08-05 09:18:17 +00:00
|
|
|
<a href="<?php echo esc_url( admin_url( 'admin.php?page=wc-addons' ) ); ?>" class="nav-tab"><?php esc_html_e( 'Browse Extensions', 'woocommerce' ); ?></a>
|
2017-08-28 07:01:01 +00:00
|
|
|
|
|
|
|
<?php
|
2017-08-30 14:19:06 +00:00
|
|
|
$count_html = WC_Helper_Updater::get_updates_count_html();
|
2019-08-05 09:18:17 +00:00
|
|
|
/* translators: %s: WooCommerce.com Subscriptions tab count HTML. */
|
2017-08-28 07:01:01 +00:00
|
|
|
$menu_title = sprintf( __( 'WooCommerce.com Subscriptions %s', 'woocommerce' ), $count_html );
|
|
|
|
?>
|
2019-08-05 06:03:12 +00:00
|
|
|
<a href="<?php echo esc_url( admin_url( 'admin.php?page=wc-addons§ion=helper' ) ); ?>" class="nav-tab nav-tab-active"><?php echo wp_kses_post( $menu_title ); ?></a>
|
2017-05-30 16:46:26 +00:00
|
|
|
</nav>
|