' . esc_html__( 'Feed Builder', 'tonys-sportspress-enhancements' ) . ''; echo '
' . esc_html__( 'Build a shareable CSV feed URL with format, filters, and custom columns. This does not save settings.', 'tonys-sportspress-enhancements' ) . '
'; echo '| '; echo ''; echo ' | |
| '; echo ''; echo ' | |
| ' . esc_html__( 'League', 'tonys-sportspress-enhancements' ) . ' | ';
echo ' ';
foreach ( $leagues as $league ) {
$input_id = 'tse-url-builder-league-' . absint( $league->term_id );
echo '';
}
echo ' ';
echo '' . esc_html__( 'Select one or more leagues. Leave empty to include all leagues.', 'tonys-sportspress-enhancements' ) . ' '; echo ' |
| ' . esc_html__( 'Season', 'tonys-sportspress-enhancements' ) . ' | ';
echo ' ';
foreach ( $seasons as $season ) {
$input_id = 'tse-url-builder-season-' . absint( $season->term_id );
echo '';
}
echo ' ';
echo '' . esc_html__( 'Select one or more seasons. Leave empty to include all seasons.', 'tonys-sportspress-enhancements' ) . ' '; echo ' |
| ' . esc_html__( 'Team', 'tonys-sportspress-enhancements' ) . ' | ';
echo ' ';
foreach ( $teams as $team ) {
$input_id = 'tse-url-builder-team-' . absint( $team->ID );
echo '';
}
echo ' ';
echo '' . esc_html__( 'Select one or more teams. Team format requires exactly one team.', 'tonys-sportspress-enhancements' ) . ' '; echo ' |
| ' . esc_html__( 'Field', 'tonys-sportspress-enhancements' ) . ' | ';
echo ' ';
foreach ( $fields as $field ) {
$input_id = 'tse-url-builder-field-' . absint( $field->term_id );
echo '';
}
echo ' ';
echo '' . esc_html__( 'Select one or more fields. Leave empty to include all fields.', 'tonys-sportspress-enhancements' ) . ' '; echo ' |
' . esc_html__( 'Open Feed URL', 'tonys-sportspress-enhancements' ) . '
'; echo '' . esc_html__( 'The builder always generates the standalone CSV feed endpoint using the selected filters and columns.', 'tonys-sportspress-enhancements' ) . '
'; echo '