Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter( 'streamtube/core/user/profile/menu/items', function( $menu_items ){
- $menu_items['events']['priority'] = -1;
- uasort( $menu_items, function( $item1, $item2 ){
- return $item1['priority'] <=> $item2['priority'];
- } );
- return $menu_items;
- }, 10, 1 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement