Description


If you want to change Email Lock Panel title/heading from Subscribe to download 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_email_lock_heading','wpdm_custom_email_lock_heading',10,2);

Examples


<?php
add_filter('wpdm_email_lock_heading','wpdm_custom_email_lock_heading',10,2);
function wpdm_custom_email_lock_heading($lock_heading,$package){
   $lock_heading = "My custom title";
   return $lock_heading; 
} 
?>

Related


Last Updated: Aug 5, 2016


Leave a Reply