jetpack_image_cdn_content

jetpack_image_cdn_content

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: jetpack.14.1

apply_filters('jetpack_image_cdn_content') is found 2 times:

  • /modules/widgets/flickr.php line 148
    					$photos .= 'title="' . esc_attr( $photo->get_title() ) . '" ';
    					$photos .= ' /></a>';
    				}
    				if ( ! empty( $photos ) ) {
    					$photos = apply_filters( 'jetpack_image_cdn_content', $photos );
    				}
    
    				$flickr_home = $rss->get_link(); // phpcs:ignore VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- Used in flickr/widget.php template file.
    			}
    
    			echo $args['before_widget']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
    
  • /modules/widgets/image-widget.php line 100
    				$output .= 'height="' . esc_attr( $instance['img_height'] ) . '" ';
    			}
    			$output .= '/>';
    
    			$output = apply_filters( 'jetpack_image_cdn_content', $output );
    
    			if ( $instance['link'] ) {
    				$target = ! empty( $instance['link_target_blank'] )
    					? 'target="_blank"'
    					: '';
    				$output = '<a ' . $target . ' href="' . esc_url( $instance&#91;'link'&#93; ) . '">' . $output . '</a>';
    

See this hook used in plugins: