| Server IP : 213.186.33.4 / Your IP : 216.73.216.146 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/plugins/jetpack/modules/theme-tools/site-logo/inc/ |
Upload File : |
<?php
/**
* Functions for maintaining backwards compatibility with unprefixed template tags from the original Site Logo plugin.
* These should never be used in themes; instead, use the template tags in functions.php.
* See: https://github.com/Automattic/jetpack/pull/956
*
* @package Jetpack
*/
if ( ! function_exists( 'the_site_logo' ) ) :
/**
* Unprefixed, backwards-compatible function for outputting the site logo.
*
* @uses jetpack_the_site_logo()
*/
function the_site_logo() {
jetpack_the_site_logo();
}
endif;
if ( ! function_exists( 'has_site_logo' ) ) :
/**
* Unprefixed, backwards-compatible function for determining if a site logo has been set.
*
* @uses jetpack_has_site_logo()
* @return bool True if a site logo is set, false otherwise.
*/
function has_site_logo() {
return jetpack_has_site_logo();
}
endif;
if ( ! function_exists( 'get_site_logo' ) ) :
/**
* Unprefixed, backwards-compatible function for getting either the site logo's image URL or its ID.
*
* @param string $show Return the site logo URL or ID.
* @uses jetpack_get_site_logo()
* @return string Site logo ID or URL (the default).
*/
function get_site_logo( $show = 'url' ) {
return jetpack_get_site_logo( $show );
}
endif;