jetpack_has_site_logo

Determine if a site logo is assigned or not.

Description

(boolean) jetpack_has_site_logo(); 

Returns (boolean)

True if there is an active logo, false otherwise


Usage

  1. if ( !function_exists( 'jetpack_has_site_logo' ) ) { 
  2. require_once '/core/third-party/site-logo/inc/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = jetpack_has_site_logo(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/core/third-party/site-logo/inc/functions.php  
  1. function jetpack_has_site_logo() { 
  2. returnsite_logo)->has_site_logo();