How to run multiple functions inside a foreach loop : <p>I would like to run a foreach loop with three functions inside of it but only the first function runs.</p>

<p>Here is my code</p>

<pre><code>function import_events() {
    global $wpdb;
    $query_name = $wpdb-&gt;prefix . 'options';
$options = $wpdb-&gt;get_results("SELECT option_name, option_value FROM $query_name WHERE option_name LIKE 'event_url%'");
// array of option names
 $i=1;
foreach ($options as $key =&gt; $row) {
    $url = $row-&gt;option_value;
    $city_name = $row-&gt;option_name;

    import_venues($url);
    import_organizers($url);
    import_events_calendar($url);
}
echo"The Import Is Finished";

wp_die();
}
</code></pre>

<p>Any help is appreciated! </p>
