add_filter img_caption_shortcode not implemented

(gotta read the docs a bit more carefully)

I was using this code in the loop

$xcontent =get_the_content();

But get_the_content() does not apply filters … as the documentation states (if I was paying attention). I should use the_content(), or change it to this (which is the same as the_content()) :

$xcontent =get_the_content();
$xcontent = apply_filters('the_content', $xcontent);

So the issue was that filters were not being applied, since I used get_the_content() instead of the_content() .

That problem solved. Now on to the next one, with more careful reading of the Codex docs…