Tribe__Events__Pro__Main::setup_datepicker_label( string $caption )
Change the datepicker label, depending on what view the user is on.
Contents
Parameters
- $caption
-
(string) (Required) The current caption for the datepicker.
Return
(string) The new caption.
Source
File: src/Tribe/Main.php
public function setup_datepicker_label ( $caption ) {
if ( tribe_is_week() ) {
$caption = __( 'Week Of', 'tribe-events-calendar-pro' );
}
return $caption;
}