Пример #1
0
/**
 * Get the icons base url.
 */
function ig_caticons_url() {
	$url = get_option('igcaticons_url');
	$def = ig_caticons_defupload();
	if (''==$url)
		return $def[1];
	else
		return $url;
}
/**
 * Get the icons base url.
 * @author Ivan Georgiev
 * @return array
 */
function ig_caticons_url()
{
    $url = get_option('igcaticons_url');
    $def = ig_caticons_defupload();
    if (empty($url)) {
        return $def[1];
    } else {
        return $url;
    }
}