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.5

apply_filters('jetpack_image_cdn_content') is found 2 times:

  • /modules/widgets/flickr.php line 148
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
            $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
    096
    097
    098
    099
    100
    101
    102
    103
    104
    105
    106
        $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: