Docs / Filter Reference / wpdm_button_image

wpdm_button_image

Description


If you want to change Package download link to image, or if you want to change default download label to something else you can use this hook.

Parameters


Two arguments are passed to this hook.

Usage


To change download link text to an image or other text.
add_filter('wpdm_button_image','my_btn_image',10,2);

Examples


<?php
add_filter('wpdm_button_image','my_btn_image',10,2);
function my_btn_image($link_label,$package){
    $link_label = "<img src='img/source' >";
    return $link_label;
}
?>

Related


Last updated on January 26, 2026

Need Help?

Get support from our team or community forum.

Visit Support

Customization

Need custom features? We can help.

Request Quote