Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('mbhi_hours_entry', 'mbhi_replace_day',10,3);
- function mbhi_replace_day($entry,$location,$shortcode) {
- if($shortcode === 'mbhi_hours_today')
- $entry->range = __('Today','mabel-business-hours-indicator-pro');
- return $entry;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement