The hook used for in calendar months names in file helper.php.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | add_filter('tableon_get_calendar_names', function($names) { return [ 'month_names' => [ TABLEON_Vocabulary::get(esc_html__('January', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('February', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('March', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('April', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('May', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('June', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('July', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('August', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('September', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('October', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('November', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('December', 'posts-table')) ], 'month_names_short' => [ TABLEON_Vocabulary::get(esc_html__('Jan', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Feb', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Mar', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Apr', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('May', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Jun', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Jul', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Aug', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Sep', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Oct', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Nov', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Dec', 'posts-table')) ], 'day_names' => [ TABLEON_Vocabulary::get(esc_html__('Mo', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Tu', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('We', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Th', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Fr', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Sa', 'posts-table')), TABLEON_Vocabulary::get(esc_html__('Su', 'posts-table')) ] ]; }); |