플러그인 데이터 쿼리Events Manager
Events Manager
Events Manager 플러그인의 데이터를 다루는 queries의 예시를 소개합니다.
이벤트 가져오기
관련 위치 데이터와 함께 이벤트 목록을 가져옵니다:
query GetEvents($postId: ID!) {
events(by: { id: $postId }) {
id
title
content
startDate
endDate
isAllDay
location {
id
name
address
city
coordinates
}
}
}