File: /var/www/dinamo-shop/wp-content/themes/dinamo-shop/woocommerce/myaccount/dashboard.php
<?php
/**
* My Account Dashboard
*
* Shows the first intro screen on the account dashboard.
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
?>
<p><?php
printf(
/* translators: 1: user display name 2: logout url */
__( 'Pozdrav %1$s (nisi %1$s? <a href="%2$s">Odjavi se</a>)', 'dinamo_shop' ),
'<strong>' . esc_html( $current_user->display_name ) . '</strong>',
esc_url( wc_logout_url() )
);
?></p>
<p><?php
printf(
__( 'Ovdje možete pregledati svoje <a href="%1$s">nedavne narudžbe</a>, upravljati svojim <a href="%2$s">adresama za dostavu i naplatu</a>, te <a href="%3$s">promijeniti svoju lozinku i podatke o računu</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' );
/**
* Deprecated woocommerce_before_my_account action.
*
* @deprecated 2.6.0
*/
do_action( 'woocommerce_before_my_account' );
/**
* Deprecated woocommerce_after_my_account action.
*
* @deprecated 2.6.0
*/
do_action( 'woocommerce_after_my_account' );
/* Omit closing PHP tag at the end of PHP files to avoid "headers already sent" issues. */