When I try to use the shortcode is works fine except the logout_url=” which should be the home_url(). But it seems that this parameter in the shortcode is ignored so the redirect url is not in the querystring for logout.
If I use the function instead add_modal_login_button(), the logout_url is working fine.
Here’s my shortcode I call
[wp-modal-login login_text='Connexion' logout_text='Déconnexion' logout_url='' show_admin=false ]
- The topic ‘logout_url not working in shortcode’ is closed to new replies.