Adjust player statistics meta box
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
* @author ThemeBoy
|
||||
* @category Admin
|
||||
* @package SportsPress/Admin/Meta_Boxes
|
||||
* @version 1.1.4
|
||||
* @version 1.3.2
|
||||
*/
|
||||
|
||||
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
||||
@@ -84,6 +84,9 @@ class SP_Meta_Box_Player_Statistics {
|
||||
?>
|
||||
</td>
|
||||
<?php if ( $league_id ): ?>
|
||||
<?php if ( $div_id == 0 ): ?>
|
||||
<td> </td>
|
||||
<?php else: ?>
|
||||
<td>
|
||||
<?php
|
||||
$value = sp_array_value( $leagues, $div_id, '-1' );
|
||||
@@ -116,6 +119,7 @@ class SP_Meta_Box_Player_Statistics {
|
||||
?>
|
||||
</td>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php foreach ( $columns as $column => $label ): if ( $column == 'team' ) continue;
|
||||
?>
|
||||
<td><?php
|
||||
|
||||
Reference in New Issue
Block a user