* the readme will list any important changes. * * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.6.0 */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } ?> <p> <?php echo sprintf(esc_attr__('Hello %s%s%s (not %2$s? %sSign out%s)', 'woocommerce'), '<strong>', esc_html($current_user->display_name), '</strong>', '<a href="' . esc_url(wc_logout_url(wc_get_page_permalink('myaccount'))) . '">', '</a>'); ?> </p> <p> <?php echo sprintf(esc_attr__('From your account dashboard you can view your %1$srecent orders%2$s, manage your %3$sshipping and billing addresses%2$s and %4$sedit your password and account details%2$s.', 'woocommerce'), '<a href="' . esc_url(wc_get_endpoint_url('orders')) . '">', '</a>', '<a href="' . esc_url(wc_get_endpoint_url('edit-address')) . '">', '<a href="' . esc_url(wc_get_endpoint_url('edit-account')) . '">'); ?> </p> <?php /** * My Account dashboard. * * @since 2.6.0 */
* the readme will list any important changes. * * @see https://docs.woocommerce.com/document/template-structure/ * @author WooThemes * @package WooCommerce/Templates * @version 2.6.0 */ if (!defined('ABSPATH')) { exit; // Exit if accessed directly } ?> <p><?php /* translators: 1: user display name 2: logout url */ printf(__('Hello %1$s (not %1$s? <a href="%2$s">Sign out</a>)', 'woocommerce'), '<strong>' . esc_html($current_user->display_name) . '</strong>', esc_url(wc_logout_url(wc_get_page_permalink('myaccount')))); ?> </p> <p><?php printf(__('From your account dashboard you can view your <a href="%1$s">recent orders</a>, manage your <a href="%2$s">shipping and billing addresses</a> and <a href="%3$s">edit your password and account details</a>.', 'woocommerce'), esc_url(wc_get_endpoint_url('orders')), esc_url(wc_get_endpoint_url('edit-address')), esc_url(wc_get_endpoint_url('edit-account'))); ?> </p> <?php /** * My Account dashboard. * * @since 2.6.0 */ do_action('woocommerce_account_dashboard');