• Resolved jvanderbilt

    (@jvanderbilt)


    Hi, I am calling the EM_Locations function as follows:

    EM_Locations::output(array(‘limit’=>’10’,’orderby’=>’name’, ‘town’=>’Chicago’, ‘array’));

    I am getting results, but they are coming back as an html unordered list (ul) and not an array. I need them in an array to be able to target specific location properties. The documentation says that passing “array” as an argument will force results to come back in an array, but it’s not working. Anyone have any idea what I’m doing wrong?

    http://wordpress.org/extend/plugins/events-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘results for php function not returning an array’ is closed to new replies.