Skip to main content

Ice Hockey Terminology

The plugin uses WordPress's `gettext` filter at priority 20 to remap SportsPress strings to ice-hockey conventions.

Updated today

Ice Hockey Terminology

The plugin uses WordPress's gettext filter at priority 20 to remap SportsPress strings to ice-hockey conventions.

Label mappings

Default SportsPress

Ice Hockey

Events

Games

Event

Game

Add New Event

Add New Game

Edit Event

Edit Game

View Event

View Game

View all events

View all games

Venues

Arenas

Venue

Arena

Edit Venue

Edit Arena

The mappings apply only to the sportspress text domain.

Where the labels appear

  • Admin menu — "Games" replaces "Events" in the SportsPress menu

  • Post type labels — Edit screens, list tables, and Add New buttons

  • Frontend — Section headings on team and player pages where the theme uses the SportsPress text domain

Disabling specific remappings

To keep a label as the SportsPress default, register a higher-priority gettext filter:

add_filter( 'gettext', function( $translated, $original, $domain ) {
    if ( $domain === 'sportspress' && $original === 'Venues' ) {
        return $original;
    }
    return $translated;
}, 25, 3 );

Did this answer your question?