Add option to hide player list and league table titles
This commit is contained in:
@@ -187,6 +187,14 @@ class SportsPress_League_Tables {
|
||||
),
|
||||
|
||||
apply_filters( 'sportspress_table_options', array(
|
||||
array(
|
||||
'title' => __( 'Title', 'sportspress' ),
|
||||
'desc' => __( 'Display title', 'sportspress' ),
|
||||
'id' => 'sportspress_table_show_title',
|
||||
'default' => 'yes',
|
||||
'type' => 'checkbox',
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Teams', 'sportspress' ),
|
||||
'desc' => __( 'Display logos', 'sportspress' ),
|
||||
|
||||
@@ -196,6 +196,14 @@ class SportsPress_Player_Lists {
|
||||
),
|
||||
|
||||
apply_filters( 'sportspress_player_list_options', array(
|
||||
array(
|
||||
'title' => __( 'Title', 'sportspress' ),
|
||||
'desc' => __( 'Display title', 'sportspress' ),
|
||||
'id' => 'sportspress_list_show_title',
|
||||
'default' => 'yes',
|
||||
'type' => 'checkbox',
|
||||
),
|
||||
|
||||
array(
|
||||
'title' => __( 'Players', 'sportspress' ),
|
||||
'desc' => __( 'Display photos', 'sportspress' ),
|
||||
|
||||
Reference in New Issue
Block a user