Rename competitions to leagues
This commit is contained in:
@@ -107,7 +107,7 @@ class SP_Settings_Players extends SP_Settings_Page {
|
||||
),
|
||||
|
||||
array(
|
||||
'desc' => __( 'Competitions', 'sportspress' ),
|
||||
'desc' => __( 'Leagues', 'sportspress' ),
|
||||
'id' => 'sportspress_player_show_leagues',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
|
||||
@@ -331,7 +331,7 @@ class SP_Settings_Status extends SP_Settings_Page {
|
||||
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><?php _e( 'Competitions', 'sportspress' ); ?>:</td>
|
||||
<td><?php _e( 'Leagues', 'sportspress' ); ?>:</td>
|
||||
<td><?php
|
||||
$display_terms = array();
|
||||
$terms = get_terms( 'sp_league', array( 'hide_empty' => 0 ) );
|
||||
|
||||
Reference in New Issue
Block a user