• filter

    jetpack_skip_photon_domain

    Filter whether the Tiled Gallery and Image Compare blocks should skip the external Photon (i0.wp.com) domain and build image URLs on the site’s own host instead. Defaults to true on VIP sites only, and false everywhere else. Changing this changes the markup Tiled Gallery saves, because it bakes the image URLs into its save() output. Galleries saved under the previous value stay valid — the block ships a deprecation for each image host, so flipping this either way is safe — and they are re-serialized with the new URLs the next time they are saved. Image Compare only uses this for its editor previews; its save() writes the attachment URLs through untouched, so its saved markup does not depend on this value.

  • filter

    jetpack_tiled_gallery_shortcode_redefined

    Filter the output of the check for another plugin or theme affecting WordPress galleries. This will let folks that replace core’s shortcode confirm feature parity with it, so Jetpack’s Tiled Galleries can still work.