Events Made Easy Forums Generic Know event id

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #44130
    Anonymous
    Inactive

    Is possible to get the event id in php ?

    Thanks for your replies and for this great plugin.

    #51065
    Franky
    Keymaster

    You’ll have to be a little more specific please. What php? A template? A wordpress action hook or filter? What are you trying to accomplish?

    #51066
    Anonymous
    Inactive

    sorry for my bad explanation… I found the solution anyway

    if(eme_is_single_event_page()){?>

    $event_id = $wp_query->query_vars;

    ?>

    I wanted to get the id in order to put the registration form in the right sidebar widget.

    thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Generic’ is closed to new topics and replies.
Scroll to Top