Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_filter('tribe_event_is_all_day', 'all_day_enforced_field');
- function all_day_enforced_field ($output ) {
- if ( !is_admin() && tribe_is_event() ) {
- $output = true;
- }
- return $output;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement