Forum Replies Created
-
AuthorPosts
-
December 22, 2017 at 4:59 pm in reply to: Uncheck google maps by default (venue details) – Community Events #1412049focusphotoParticipant
Hi there,
Thanks for your reply. Okay I have applied both those do_action hooks, and it is partly working.
It appears that the VENUE does get created (and also on edits) with the Google Maps disabled.
However on the Event itself, there are another set of checkboxes which are not getting disabled. See attached screenshot.
I have also tried adding in these lines, in addition to the $venue_id lines you originally sent. Unfortunately adding these in does not disable the checkboxes on the Event either. Only on the venue details.
update_post_meta( $event_id, '_VenueShowMapLink', 'false' );
update_post_meta( $event_id, '_VenueShowMap', 'false' );Rehards
Arun- This reply was modified 6 years, 5 months ago by focusphoto.
- This reply was modified 6 years, 5 months ago by focusphoto. Reason: Updated info
-
AuthorPosts