Zoninator zone manager plugin – get and set zones programmatically

As advised by the Zoninator developer Mohammad Jangda, you can solve the second part of this problem like this:

    if (z_get_zone(‘home’) == ”) {
        global $zoninator;
        $zoninator->insert_zone( ‘home’, ‘Home’, array(‘description’ => ‘This is the Home Zone programmatically inserted’));
}

tech