I set about modifying the default ‘Members’ widget renaming a copy of the widget placed in my functions.php file. All The changes are within the ul#members-list container. My revised widget displays fine on page load, but when the ajax calls are made when selecting ‘Newest | Active | Popular’ it reverts the layout and content to the original ‘Members’ widget.
I’ve carried over the `/bp-core/js/widget-members.js` included via the ‘wp_enqueue_script’ statement, but I don’t see anything in this script which leads a different html layout.
Does anyone familiar with the function know what’s being called?