Skip to content

CodeAtCode/CMB2-Day-Timeslots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMB2-Day-Timeslots

License

Integrates day-schedule-selector

$woo->add_field(
        array(
				'name'    => \__( 'Slots', YOUR_TEXTDOMAIN ),
				'id'      => 'bookable_slots',
				'type'    => 'day_timeslots',
				'options' => array(
					'opening_hour_label'  => \__( 'Opening Hour', YOUR_TEXTDOMAIN ),
					'closing_hour_label'  => \__( 'Closing Hour', YOUR_TEXTDOMAIN ),
					'weekday_label'  => \__( 'WeekDays', YOUR_TEXTDOMAIN ),
					'weekday_labels' => array( \__( 'Sunday', YOUR_TEXTDOMAIN ), __( 'Monday', YOUR_TEXTDOMAIN ), __( 'Tuesday', YOUR_TEXTDOMAIN ), __( 'Wednesday', YOUR_TEXTDOMAIN ), __( 'Thusday', YOUR_TEXTDOMAIN ), __( 'Friday', YOUR_TEXTDOMAIN ), __( 'Saturday', YOUR_TEXTDOMAIN ) ),
					'minute_interval_label' => \__( 'Minute Interval', YOUR_TEXTDOMAIN ),
					'interval' => 30,
					'time_format' => '24'
				)
        )
    );

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published