diff --git a/modules/sportspress-league-tables.php b/modules/sportspress-league-tables.php index 87c78729..a0ef475d 100644 --- a/modules/sportspress-league-tables.php +++ b/modules/sportspress-league-tables.php @@ -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. *