On Removing Avatar From Front End Redirect to Admin side
-
Hi..
The Plugin is working fine for me at all aspects.
My Only Problem is when user Click to remove the avatar from front end, it redirects to admin side user profile page. But I need it to stay on my same page.
Hope the problem is because,
$remove_url = admin_url(‘profile.php’).”?delete_avatar=true&_nononce=”. wp_create_nonce(‘user_avatar’).”&u=”.$profile->ID;
This points to admin side.But wp_redirect also cheated me.. Please help me to avoid this redirect..
Thanks in Advance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘On Removing Avatar From Front End Redirect to Admin side’ is closed to new replies.