Created
December 23, 2025 15:08
-
-
Save jmabbas/8c1e12a95ce4eff9151540fd480837db to your computer and use it in GitHub Desktop.
GoTrek - Rating categories
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_filter( 'gotrek_hotel_rating_categories', 'custom_gotrek_hotel_rating_categories' ); | |
| function custom_gotrek_hotel_rating_categories( $rating_categories ) { | |
| // Rename existing labels | |
| $rating_categories['location'] = esc_html__( 'Area & Location', 'gotrek' ); | |
| $rating_categories['staff'] = esc_html__( 'Service Quality', 'gotrek' ); | |
| $rating_categories['cleanliness'] = esc_html__( 'Cleanliness', 'gotrek' ); | |
| $rating_categories['value for money'] = esc_html__( 'Value for money', 'gotrek' ); | |
| $rating_categories['comfort'] = esc_html__( 'Comfort', 'gotrek' ); | |
| $rating_categories['facilities'] = esc_html__( 'Facilities', 'gotrek' ); | |
| $rating_categories['free wifi'] = esc_html__( 'Free WiFi', 'gotrek' ); | |
| return $rating_categories; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment