Created
March 23, 2021 10:02
-
-
Save champsupertramp/8e0dcb03bcad10ef25e583210258ed56 to your computer and use it in GitHub Desktop.
Ultimate Member - show tabs at the last tab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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