Option for final 'echo'?
-
Would it be possible for you to make the final ‘echo’ of the plugin output an option? Or at least, susceptible to a hook override?
The function I am referring to is:
function wpp_get_mostpopular($args = NULL) { … }
which as it’s final act does this:
echo do_shortcode( $shortcode );
and in order to pre-process the output of your fine plugin, I have to change this line to:
return do_shortcode($shortcode);
so that my calling function can further manipulate the output *and* most importantly, inject the output just where and when I want it – not immediately into the rendered output like the “echo” causes.
Thanks for the consideration. Fine plugin, appreciate your work.
https://www.ads-software.com/plugins/wordpress-popular-posts/
- The topic ‘Option for final 'echo'?’ is closed to new replies.