Remove unused team option
This commit is contained in:
@@ -40,7 +40,6 @@ class SportsPress_League_Tables {
|
||||
add_filter( 'sportspress_meta_boxes', array( $this, 'add_meta_boxes' ) );
|
||||
add_filter( 'sportspress_shortcodes', array( $this, 'add_shortcodes' ) );
|
||||
add_filter( 'sportspress_team_settings', array( $this, 'add_settings' ) );
|
||||
add_filter( 'sportspress_team_options', array( $this, 'add_options' ) );
|
||||
add_filter( 'sportspress_after_team_template', array( $this, 'add_team_template' ), 30 );
|
||||
}
|
||||
|
||||
@@ -295,25 +294,6 @@ class SportsPress_League_Tables {
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add options.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function add_options( $options ) {
|
||||
return array_merge( $options,
|
||||
array(
|
||||
array(
|
||||
'title' => __( 'Table Columns', 'sportspress' ),
|
||||
'desc' => __( 'Enable column editing', 'sportspress' ),
|
||||
'id' => 'sportspress_team_column_editing',
|
||||
'default' => 'no',
|
||||
'type' => 'checkbox',
|
||||
),
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Add team template.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user