Support » Plugin: Events Manager » $EM_Event Object does not contain Image URL

Viewing 2 replies - 1 through 2 (of 2 total)
  • I realised I can use the same approach that is used to get a normal post / page attachment.

    wp_get_attachment_image_src( get_post_thumbnail_id( $EM_Event->ID ))

    Plugin Author Marcus

    (@netweblogic)

    NetWebLogic Support

    alternatively:

    $EM_Event->get_image_url();

    that function is inherited from EM_Object

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘$EM_Event Object does not contain Image URL’ is closed to new replies.