I am finding difficulty in returning the wp_login_form() and register link at the same time.
Here is my code which i am working to make shortcode. How to send the login_form and register link if user is not logged in?
function add_login_form() {
if(!is_user_logged_in()){
return wp_login_form();
}
else {
return;
}
}
