From 1f28b652c80e2c62ffffcb54b18bc4992ec8f8be Mon Sep 17 00:00:00 2001 From: Brian Miyaji Date: Thu, 31 Mar 2016 03:58:46 +1100 Subject: [PATCH] Display player totals as footer row --- .../class-sp-meta-box-player-statistics.php | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php index 81cda616..ed4bc68b 100644 --- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php +++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-player-statistics.php @@ -109,11 +109,32 @@ class SP_Meta_Box_Player_Statistics { + + + + + + +   + $label ): if ( $column == 'team' ) continue; + ?> + '; + ?> + + + $div_stats ): if ( $div_id === 'statistics' ) continue; + if ( $div_id === 0 ) continue; $div = get_term( $div_id, 'sp_season' ); ?>