Refresh Page after uploading a Cover Image or Avatar – Still looking in 2020….
-
BuddyPress does not refresh the page after you’ve uploaded a Cover Image or Avatar. I found an article that used the following incomplete code.
$(document).ajaxComplete( function( event, xhr, settings ) { if ( settings.action === "avatar ajax action" ) { // reload page code } });
Has anyone figured this out yet? Can you please share your solution?
Using the incomplete code posted above, does anyone know what we should be replacing //reload page code with? I’ve tried all of the standard JS refresh commands with no luck.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.