mycred_badge_image
Description
This filter allows you to adjust the badge image element before it is rendered.
Available since version 1.7.6
Parameters
Param | Type | Required | Description |
---|---|---|---|
$html |
string | Yes | The badge image element. |
$image |
int or string | No | Either |
$badge_object |
obj | No | The myCRED_Badge object. |
Used By
Package | Prio. | Description |
---|---|---|
Not used by any built-in package. |
Examples
Example 1: Add a Bootstrap tooltip to all badge images except for the main badge image.