Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ultimate Member - show tabs at the last tab
add_filter("um_user_profile_tabs", function( $tabs ){
$arr_followers = $tabs['followers'];
$arr_following = $tabs['following'];
unset( $tabs['followers'] );
unset( $tabs['following'] );
$tabs['followers'] = $arr_followers;
$tabs['following'] = $arr_following;
return $tabs;
},999999);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment