Home Forums Themes Support HelpDesk Who can I edit url for logout in header menu?

Viewing 3 reply threads
  • Author
    Posts
    • #11979

      Hi,

      How can I edit url for logout in header menu and where I will find it?

      Attachments:
      You must be logged in to view attached files.
    • #11984

      Hi

      Please find this function jas_claue_wc_my_account in

      claue/core/libraries/vendors/woocommerce/init.php

      But you should add a filter in child theme function for wp_logout_url

      add_filter( 'logout_url', 'your_prefix_logout_url' );
      function your_prefix_logout_url( $default ) 
      {
          return 'http://example.com/custom';
      }

      Best regards,

       

    • #11987

      Thanks.

      But I just want to know from where these menu appearing on page.

    • #12080

      Hi

      I don’t understand your question, could you explain more a bit ?

      This menu is render by function  jas_claue_wc_my_account and this function is called in header files claude -> views -> header

      Best regards, Neo

Viewing 3 reply threads

You must be logged in to reply to this topic.