{"id":15648816,"date":"2022-05-16T09:52:49","date_gmt":"2022-05-16T09:52:49","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/api-help-2\/"},"modified":"2022-05-16T09:52:49","modified_gmt":"2022-05-16T09:52:49","slug":"api-help-2","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/api-help-2\/","title":{"rendered":"API help"},"content":{"rendered":"<p>Hello, I would like to ask for more info about how to create an event with custom PHP code.<\/p>\n<p>I&#8217;m interested in creating events via code dynamically. What I mean is, is there a function that creates events based on my data? like: wp_event_create (blah, blah) or something?<\/p>\n<p>Thank you in advance!<\/p>\n","protected":false},"template":"","class_list":["post-15648816","topic","type-topic","status-publish","hentry","topic-tag-api"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15648816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15648816\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15648816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}