Applying class to links around self hosted images embedded to posts/pages

Well, I’ll answer my dumb question myself.
As it explained by nice fellow, the image_send_to_editor filter runs inside the get_image_send_to_editor function which is responsible for sending the link HTML that surrounds images sent to the editor. This filter runs when you insert image using Media Uploader to the editor. It doesn’t applied to your existing images in your existing posts/pages.

Leave a Comment