Inventory_Presser_Shortcode_Hours_Today
Contents
Description Description
Creates a shortcode that outputs a sentence about whether or not the car lot is open. Also hooks into vehicle singles and tables of hours to automatically deploy the feature.
Source Source
File: includes/shortcode/class-shortcode-hours-today.php
Expand full source code Collapse full source code View on Github
Methods Methods
- add — add
- add_hooks — hooks
- append_hours_today_to_hours_widget — append_hours_today_to_hours_widget
- append_shortcode — append_shortcode
- create_date_object_from_hour_string — create_date_object_from_hour_string
- create_days_array_from_hours_array — create_days_array_from_hours_array
- create_sentence — create_sentence
- driver — driver
- find_hours_set — find_hours_set
- find_hours_set_by_uid — find_hours_set_by_uid
- find_hours_sets_by_location_slug — find_hours_sets_by_location_slug
- find_next_open_day — find_next_open_day
- hooks — hooks