HEX
Server: Apache
System: Linux elegant-goodall 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64
User: allende-losmares.com_h71qfkqzx8k (10002)
PHP: 8.0.30
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/allende-losmares.com/httpdocs/wp-content/plugins/logo-switcher/inc/helpers.php
<?php

/**
 * Logo Switcher
 *
 * @author Iversen - Carpe Noctem
 *
 */

// Block direct access
if(!defined('ABSPATH'))exit;

/**
 * Get the logo url
 *
 * 
 * @return string
 */
function logo_switcher_url() {
	return ICN\LogoSwitcher\Plugin::get_logo_url();
}

/**
 * Print logo url
 * 
 * @param string $path the url target
 * @param string $description the logo image description
 *
 */
function logo_switcher_print($path = null, $description = null) {
	ICN\LogoSwitcher\Plugin::print_link_tag($path, $description);
}

function logo_switcher_link_tag() {
	logo_switcher_print();
}

function logo_switcher_image_tag($classes = []) {
	ICN\LogoSwitcher\Plugin::print_image_tag($classes);
}