Photon skip image filter not applied
-
Hi,
I want some images to be served by the actual server and not by Photon (or a CDN). Thus, I inserted this code:
function my_photon_exception( $val, $src, $tag ) { update_option('cc_debug', 'was applied'); return true; } add_filter( 'jetpack_photon_skip_image', 'my_photon_exception', 10, 3 );
in my main plugin file.
However, this filter is not applied at all. In fact, I inserted an
echo
in file class.photon.php in line 169 and this echo is not displayed, too.This leads to the problem, that I can not exclude images from being served via CDN/photon.
Any ideas?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Photon skip image filter not applied’ is closed to new replies.