Golf Terminology
The plugin uses WordPress's gettext filter at priority 20 to remap SportsPress strings to golf-specific terms.
Label mappings
Default SportsPress | Golf |
Events | Rounds |
Event | Round |
Add New Event | Add New Round |
Edit Event | Edit Round |
View Event | View Round |
View all events | View all rounds |
Venues | Courses |
Venue | Course |
Edit Venue | Edit Course |
Box Score | Scorecard |
League Tables | Leaderboards |
League Table | Leaderboard |
Add New League Table | Add New Leaderboard |
Edit League Table | Edit Leaderboard |
View League Table | View Leaderboard |
Adjustments | Handicaps |
The mappings apply only to the sportspress text domain.
Hidden taxonomy
Beyond text remapping, the plugin removes the player Positions taxonomy from the SportsPress post type registration via sportspress_taxonomies and removes the position column from the players list table via sportspress_player_admin_columns. The sportspress_has_positions filter also returns false, suppressing position-related UI elsewhere.
This is a deliberate choice: golf has no positional roles in the team-sport sense (each player is independent), so the positions concept is hidden rather than relabelled.
