function test_get_instance()
 {
     $this->assertTrue(wds_dynamic_dropdowns() instanceof WDS_Dynamic_Dropdowns);
 }
        $dir = $dir ? $dir : trailingslashit(dirname(__FILE__));
        return $dir . $path;
    }
    /**
     * This plugin's url
     *
     * @since  0.1.0
     * @param  string $path (optional) appended path
     * @return string       URL and path
     */
    public static function url($path = '')
    {
        static $url;
        $url = $url ? $url : trailingslashit(plugin_dir_url(__FILE__));
        return $url . $path;
    }
}
/**
 * Grab the WDS_Dynamic_Dropdowns object and return it.
 * Wrapper for WDS_Dynamic_Dropdowns::get_instance()
 *
 * @since  0.1.0
 * @return WDS_Dynamic_Dropdowns  Singleton instance of plugin class.
 */
function wds_dynamic_dropdowns()
{
    return WDS_Dynamic_Dropdowns::get_instance();
}
// Kick it off
add_action('plugins_loaded', array(wds_dynamic_dropdowns(), 'hooks'));