How to set a link different behavior for logged and non-logged user?

Question

I want to set a link. If behaves differently for logged and non-logged users. If non-logged user click it, it will go to a login page. And if logged users click it, it will go to woocommerce my account page.
Suggest me right code please.
enter image description here

0
Asif Jalil 3 years 2019-11-24T12:32:50-05:00 0 Answers 72 views 0

Leave an answer

Browse
Browse