Main Menu
Sub Menu

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 Jun 29, 2014

Need More Clarification?

For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.

Need Customization?

If you need additional customization on WordPress Download Manager or any type of custom support on WordPress you may contact our customization service.