diff --git a/includes/class-sp-player-list.php b/includes/class-sp-player-list.php index 7296532a..21d82c40 100644 --- a/includes/class-sp-player-list.php +++ b/includes/class-sp-player-list.php @@ -97,7 +97,7 @@ class SP_Player_List extends SP_Custom_Post { if ( $team && apply_filters( 'sportspress_has_teams', true ) ): $args['meta_query'] = array( array( - 'key' => 'sp_team', + 'key' => 'sp_current_team', 'value' => $team ), );