catchresponsive_web_clip

Get the Web Clip Icon Image from options.

Description

catchresponsive_web_clip(); 

Usage

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

Defined (1)

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

/inc/catchresponsive-core.php  
  1. function catchresponsive_web_clip() { 
  2. if ( ( !$catchresponsive_web_clip = get_transient( 'catchresponsive_web_clip' ) ) ) { 
  3.  
  4. echo '<!-- refreshing cache -->'; 
  5.  
  6. if ( isset( $options[ 'web_clip' ] ) && $options[ 'web_clip' ] != '' && !empty( $options[ 'web_clip' ] ) ) { 
  7. $catchresponsive_web_clip = '<link rel="apple-touch-icon-precomposed" href="'.esc_url( $options[ 'web_clip' ] ).'" />'; 
  8.  
  9. set_transient( 'catchresponsive_web_clip', $catchresponsive_web_clip, 86940 ); 
  10. echo $catchresponsive_web_clip ; 
  11. } // catchresponsive_web_clips