• Is it possible to get the wishlist page url? I’ve tried yith_wcwl_get_wishlist_url(); but it gives an error.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    thanks for contacting us!

    Please try with this code:

    YITH_WCWL()->get_wishlist_url();

    Let us know any news.

    Best regards.

    Thread Starter brthmrk

    (@brthmrk)

    Thanks the only thing is you get the following url: /wishlist/?wishlist-action is it possible to get it without the ? and whistlist-action ?

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    That parameter should not appear. You can remove it with a php function like the following:

    $url = str_replace( '?wishlist-action', '', YITH_WCWL()->get_wishlist_url() );

    Could you check it?

    Best regards.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.