Using the API
-
I’m using your product with Events Manager and it works great except, I now want to format the related events myself and I tried using your API functions.
I’ve seen the list on your site but I have difficulties with getting the posts. After hours of searching I found your example that begins with: $my_connected_posts = Post_Connector::API()->get_children( “course”, get_the_id() );
I can’t make that line works. I changed the slug for my type, get_the_id() works but if I put this complete line, nothing else after this line is executed.
Is there something I have to put before like a global something?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Using the API’ is closed to new replies.