From b89c9d85d736ebad6296ee1f3b023159fce8a7c5 Mon Sep 17 00:00:00 2001 From: Rasso Hilber Date: Wed, 24 Jul 2024 14:25:30 +0200 Subject: [PATCH] Update readme --- readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index f926cef..bb19ec5 100644 --- a/readme.md +++ b/readme.md @@ -111,9 +111,9 @@ $focus = fcp_get_focalpoint($imageID); ``` -### WordPress attachment image +### Using `wp_get_attachment_image` -If you are making use of WordPress' function `wp_get_attachment_image($id)`, the plugin will automatically inject two css custom properties for you to use: +If you are making use of the WordPress function [`wp_get_attachment_image()`](https://developer.wordpress.org/reference/functions/wp_get_attachment_image/), the plugin will automatically inject a class `focal-point-image` and two custom css properties for you to use: ```diff