Created
November 14, 2015 11:08
-
-
Save bordoni/819c225cd1459a3432b9 to your computer and use it in GitHub Desktop.
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
| <?php | |
| function __dev_filter_names( $i18n, $action, $post_type ) { | |
| $i18n['delete'] = array( | |
| Tribe__Events__Main::POSTTYPE => __( 'Remove a WordCamp', 'tribe-events-community' ), | |
| Tribe__Events__Main::VENUE_POST_TYPE => __( 'Remove a Place', 'tribe-events-community' ), | |
| Tribe__Events__Main::ORGANIZER_POST_TYPE => __( 'Remove a Contributor', 'tribe-events-community' ), | |
| 'unknown' => __( 'Unknown Post Type', 'tribe-events-community' ), | |
| ); | |
| $i18n['default'] = array( | |
| Tribe__Events__Main::POSTTYPE => __( 'Edit a WordCamp', 'tribe-events-community' ), | |
| Tribe__Events__Main::VENUE_POST_TYPE => __( 'Edit a Place', 'tribe-events-community' ), | |
| Tribe__Events__Main::ORGANIZER_POST_TYPE => __( 'Edit a Contributor', 'tribe-events-community' ), | |
| 'unknown' => __( 'Unknown Post Type', 'tribe-events-community' ), | |
| ); | |
| return $i18n; | |
| } | |
| add_filter( 'tribe_ce_i18n_page_titles', '__dev_filter_names', 10, 3 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment