Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
The Events Calendar Custom Fields and Capabilties@3.9
The Events Calendar Custom Fields @3.9
Event Custom Post Type ( tribe_events )
_EventAllDay
_EventStartDate
_EventEndDate
_EventDuration
_EventVenueID
_EventShowMapLink
_EventShowMap
_EventCurrencySymbol
_EventCurrencyPosition
_EventCost
_EventCostMin
_EventCostMax
_EventURL
_EventOrganizerID
_EventPhone
_EventHideFromUpcoming
_FacebookID
_EventOrigin
Venue Custom Post Type ( tribe_venue )
_VenueVenue
_VenueCountry
_VenueAddress
_VenueCity
_VenueStateProvince
_VenueState
_VenueProvince
_VenueZip
_VenuePhone
_VenueURL
To get Venue ID for an event use this function:
tribe_get_venue_id( $event_id );
Organizer Custom Post Type ( tribe_organizer )
_OrganizerOrganizer
_OrganizerEmail
_OrganizerWebsite
_OrganizerPhone
To get Organizer ID for an event use this function:
tribe_get_organizer_id( $event_id );
Capabilities
edit_tribe_event
read_tribe_event
delete_tribe_event
delete_tribe_events
edit_tribe_events
edit_others_tribe_events
delete_others_tribe_events
publish_tribe_events
edit_published_tribe_events
delete_published_tribe_events
delete_private_tribe_events
edit_private_tribe_events
read_private_tribe_events
edit_tribe_venue
read_tribe_venue
delete_tribe_venue
delete_tribe_venues
edit_tribe_venues
edit_others_tribe_venues
delete_others_tribe_venues
publish_tribe_venues
edit_published_tribe_venues
delete_published_tribe_venues
delete_private_tribe_venues
edit_private_tribe_venues
read_private_tribe_venues
edit_tribe_organizer
read_tribe_organizer
delete_tribe_organizer
delete_tribe_organizers
edit_tribe_organizers
edit_others_tribe_organizers
delete_others_tribe_organizers
publish_tribe_organizers
edit_published_tribe_organizers
delete_published_tribe_organizers
delete_private_tribe_organizers
edit_private_tribe_organizers
read_private_tribe_organizers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment