Add post type argument to sp_get_stats_row

This commit is contained in:
Takumi
2013-08-04 23:42:40 +10:00
parent 9792131394
commit eb92486316
4 changed files with 43 additions and 27 deletions

View File

@@ -65,7 +65,7 @@ function sp_team_stats_meta( $post ) {
)
)
);
$placeholders[ $league_id ] = sp_get_stats_row( $args );
$placeholders[ $league_id ] = sp_get_stats_row( 'sp_team', $args );
endforeach;
sp_stats_table( $data, $placeholders, 0, array( 'League', 'P', 'W', 'D', 'L', 'F', 'A', 'GD', 'Pts' ), false, 'sp_league' );