Description


The “wpdm_after_fetch_template” filter is used to filter the link/page template of the package after it is compiled and before it is printed to the screen.

Parameters


Two arguments are passed to this filter.

Usage


To change template data.
<?php add_filter('wpdm_after_fetch_template','my_fetched_template',10,2); ?>

Examples

<?php
add_filter('wpdm_after_fetch_template','my_fetched_template',10,2);
function my_fetched_template($template, $vars){
//your code here
// ....
return $template;
}
?>

 

Related


Last Updated: Jun 18, 2016


Leave a Reply