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).


Top ↑

Source Source

File: includes/models/model.llms.user.achievement.php

View on GitHub



Top ↑

Changelog Changelog

Changelog
Version Description
6.0.0 Added $size parameter.
3.14.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.