Home / Files / includes/admin/helper/views/html-section-account.php


Lines: 1 to 16 of 16

<?php defined( 'ABSPATH' ) or exit(); ?>

<a class="button button-update" href="<?php echo esc_url( $refresh_url ); ?>"><span class="dashicons dashicons-image-rotate"></span> <?php _e( 'Update', 'woocommerce' ); ?></a>
<div class="user-info">
	<header>
		<p><?php printf( __( 'Connected to WooCommerce.com', 'woocommerce' ) ); ?> <span class="chevron dashicons dashicons-arrow-down-alt2"></span></p>
	</header>
	<section>
		<p><?php echo get_avatar( $auth_user_data['email'], 48 ); ?> <?php echo esc_html( $auth_user_data['email'] ); ?></p>
		<div class="actions">
			<a class="" href="https://woocommerce.com/my-account/my-subscriptions/" target="_blank"><span class="dashicons dashicons-admin-generic"></span> <?php _e( 'My Subscriptions', 'woocommerce' ); ?></a>
			<a class="" href="<?php echo esc_url( $disconnect_url ); ?>"><span class="dashicons dashicons-no"></span> <?php _e( 'Disconnect', 'woocommerce' ); ?></a>
		</div>
	</section>
</div>
 

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      1 to 5 of 5

      • __() – Retrieve the translation of $text.
      • _e() – Display translated text.
      • esc_html() – Escaping for HTML blocks.
      • esc_url() – Checks and cleans a URL.
      • get_avatar() – Retrieve the avatar `<img>` tag for a user, email address, MD5 hash, comment, or post.

      Call hooks

      File name: includes/admin/helper/views/html-section-account.php
      Plugin ref: WooCommerce
      Version: 3.2.4
      Deprecated?: No
      API Letters: A,H,I,V

      Published: 6th August 2017 | Last updated: 6th August 2017

      Information

      File name: includes/admin/helper/views/html-section-account.php
      Plugin ref: WooCommerce
      Version: 3.2.4
      Deprecated?: No
      API Letters: A,H,I,V

      includes/admin/helper/views
      • Plugins
      • Themes
      • Shortcodes
      • APIs
      • Files
      • Hooks
      • Classes
      • Sites
      • Sitemap
      • Blog
      WooCommerce a2z WooCommerce a2z
      WooCommerce

      Site:  woocommerce.wp-a2z.org
      © Copyright WooCommerce a2z 2014-2018. All rights reserved.


      Website designed and developed by Herb Miller
      Proudly powered by WordPress and oik plugins