apply_filters( 'llms_achievement_get_image_html', string $html , LLMS_User_Achievement $achievement , int[] $size )
Filters the HTML used to display an achievement image.
Parameters Parameters
- $html
-
(string) Image HTML.
- $achievement
-
(LLMS_User_Achievement) The achievement object.
- $size
-
(int[]) Dimensions of the image to return passed as [ width, height ] (in pixels).
Source Source
Changelog Changelog
Version | Description |
---|---|
6.0.0 | Added $size parameter. |
3.14.0 | Introduced. |