Occasionally, I use a plugin to add functionality to a site. But sometimes, the information outputted by a plugin function needs to be modified.
For example, I was using the My Calendar plugin. Only problem was that the Previous/Next links were giving the incorrect URL. Rather than hack the plugin directly, I wanted to add a function to the theme’s function.php file that would filter the output of the plugin function that creates the Previous/Next links.
I tried using the name of the function as a hook, but that didn’t seem to work. Is there a way to do this?
- The topic ‘How to Filter a Plugin Function’ is closed to new replies.