Multiple add_action and add_filter on the same tag is not working for me
-
Hello there,
I’m creating a custom plugin that handles the way excerpts display. It cuts off the “[…]” found at the end of each excerpt as it adds Drop Cap effect to the beginning of the excerpt.
Everything works well for me except that when I apply the action/filters to both of my functions one of them will work while the other is not working.
For example the function that cuts the “[…]” off will work and the function that adds the drop cap effect will not work.
Or the function that adds the drop cap effect will work or the other will not work.
If I separate the two functions and make each a different plugin, the first activated plugin will work.
So, how can I make both of them work at the same time on the excerpt, or is that impossible??
- The topic ‘Multiple add_action and add_filter on the same tag is not working for me’ is closed to new replies.