Add filter to tweak attachments html.

This commit is contained in:
mateuswetah 2023-12-11 11:33:20 -03:00
parent c55e79cedc
commit d17614a044
1 changed files with 1 additions and 1 deletions

View File

@ -922,7 +922,7 @@ class Item extends Entity {
$output .= $embed;
}
}
return wp_kses_tainacan($output);
return apply_filters("tainacan-item-get-attachment-as-html", wp_kses_tainacan($output), $img_size, $this);
}