add_filter in wordpress oop plugin
-
HI all. I am writing a wordpress plugin with OOP techniques. I need to add filter.I write it so:
add_filter('the_content', array($myObject, 'display_products'));
But in that case it starts to load page without end.
How should I write it right?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘add_filter in wordpress oop plugin’ is closed to new replies.