Remove none option from player list team selection
This commit is contained in:
@@ -54,8 +54,6 @@ function sp_list_player_meta( $post ) {
|
|||||||
<p class="sp-tab-select">
|
<p class="sp-tab-select">
|
||||||
<?php
|
<?php
|
||||||
$args = array(
|
$args = array(
|
||||||
'show_option_none' => sprintf( __( 'All %s', 'sportspress' ), __( 'Teams', 'sportspress' ) ),
|
|
||||||
'option_none_value' => '0',
|
|
||||||
'post_type' => 'sp_team',
|
'post_type' => 'sp_team',
|
||||||
'name' => 'sp_team',
|
'name' => 'sp_team',
|
||||||
'selected' => $team_id
|
'selected' => $team_id
|
||||||
|
|||||||
Reference in New Issue
Block a user