Main Menu
Sub Menu

wdm_pre_render_link

Description


If you want to change template data before loading the template, you can use this hook.

Parameters


One parameter is passed to this hook.

Usage


To change template data.

<?php add_filter('wdm_pre_render_link','my_template_data',10,1); ?>

Examples


<?php
add_filter('wdm_pre_render_link','my_template_data',10,1);
function my_template_data($package_data){
   $package_data['new_tag'] = call_back_function();
   //more of your code here
   return $package_data;
}
?>

Related


Last updated on May 20, 2016

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.