Last active
September 25, 2017 06:42
-
-
Save mbrughi/0bd4d981fb4f6236384a9e173358c246 to your computer and use it in GitHub Desktop.
Woocommerce MyAccount Sorting Links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Woocommerce MyAccount Sorting Links | |
// Ordinamento funzioni nella pagina my account di woocommerce | |
function mb_woo_my_account_order() { | |
$myorder = array( | |
'dashboard' => __( 'Bacheca', 'woocommerce' ), | |
'points' => __( 'Raccolta Punti', 'woocommerce' ), | |
'cataloghi-per-rivenditori' => __( 'Cataloghi per rivenditori', 'woocommerce' ), | |
'orders' => __( 'Storico Ordini', 'woocommerce' ), | |
'my-account-fatture' => __( 'Le tue fatture', 'woocommerce' ), | |
'termini-e-condizioni' => __( 'Condizioni D\'Acquisto', 'woocommerce' ), | |
'privacy' => __( 'Informativa Privacy', 'woocommerce' ), | |
'edit-account' => __( 'Dettagli Account', 'woocommerce' ), | |
'edit-address' => __( 'Indirizzi per la consegna', 'woocommerce' ), | |
'customer-logout' => __( 'Logout', 'woocommerce' ), | |
); | |
return $myorder; | |
} | |
add_filter ( 'woocommerce_account_menu_items', 'mb_woo_my_account_order' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment