Add placeholder feature to auto-populate data table
This commit is contained in:
2
team.php
2
team.php
@@ -48,7 +48,7 @@ function sp_team_stats_meta( $post ) {
|
||||
|
||||
$data = sp_array_combine( $keys, sp_array_value( $stats, 0, array() ) );
|
||||
?>
|
||||
<?php sp_data_table( $data, 0, array( 'Team', 'Played', 'Goals', 'Assists', 'Yellow Cards', 'Red Cards' ), true, true, 'sp_league' );
|
||||
<?php sp_stats_table( $data, array(), 0, array( 'League', 'P', 'W', 'D', 'L', 'F', 'A', 'GD', 'Pts' ), true, true, 'sp_league' );
|
||||
|
||||
sp_nonce();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user