/var/www/html_us/wp-content/plugins/woocommerce/includes/admin/helper/views/html-section-nav.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/**
 * Helper admin navigation.
 *
 * @package WooCommerce\Helper
 *
 * @deprecated 5.7.0
 */

use Automattic\WooCommerce\Utilities\FeaturesUtil;

$addons_url admin_url'admin.php?page=wc-addons' );
if ( 
FeaturesUtil::feature_is_enabled'marketplace' ) ) {
    
$addons_url admin_url'admin.php?page=wc-admin&path=/extensions&tab=extensions' );
}

defined'ABSPATH' ) || exit(); ?>

<nav class="nav-tab-wrapper woo-nav-tab-wrapper">
    <a href="<?php echo esc_url$addons_url ); ?>" class="nav-tab"><?php esc_html_e'Browse Extensions''woocommerce' ); ?></a>

    <?php
        $count_html 
WC_Helper_Updater::get_updates_count_html();
        
/* translators: %s: WooCommerce.com Subscriptions tab count HTML. */
        
$menu_title sprintf__'My Subscriptions %s''woocommerce' ), $count_html );
    
?>
    <a href="<?php echo esc_urladmin_url'admin.php?page=wc-addons&section=helper' ) ); ?>" class="nav-tab nav-tab-active"><?php echo wp_kses_post$menu_title ); ?></a>
</nav>