index.md
13 lines
| 1 | # Hooks |
| 2 | |
| 3 | The plugin provides several hooks to let you extend or modify its behavior. |
| 4 | |
| 5 | ## Actions |
| 6 | |
| 7 | - [](updated_tiny_postmeta.mdupdated_tiny_postmeta](updated_tiny_postmeta.md](updated_tiny_postmeta.md) — Triggered when tinify meta data has been updated |
| 8 | - [](tiny_image_after_compression.mdtiny_image_after_compression](tiny_image_after_compression.md](tiny_image_after_compression.md) — Triggered after successful optimization. |
| 9 | |
| 10 | ## Filters |
| 11 | |
| 12 | - [](tiny_replace_with_picture.mdtiny_replace_with_picture](tiny_replace_with_picture.md](tiny_replace_with_picture.md) — Enable or disable converting `<img>` tags to `<picture>` elements. |
| 13 |