Support » Plugin: WooCommerce » " my-account " translation url issue

Viewing 1 replies (of 1 total)
  • Thread Starter tomkzo

    (@tomkzo)

    I tried to change this function but can’t achieve to replace “my-account” by “mon-compte” in the url according to the browser language :

    /**
    * Retrieve page permalink
    *
    * @param string $page
    * @return string
    */

    function wc_get_page_permalink( $page ) {
    $permalink = get_permalink( wc_get_page_id( $page ) );

    return apply_filters( ‘woocommerce_get_’ . $page . ‘_page_permalink’, $permalink );
    }

    /includes/wc-pages-functions.php

Viewing 1 replies (of 1 total)
  • The topic ‘" my-account " translation url issue’ is closed to new replies.