add_filter problems
-
I have written a plugin, so I used add_filter function,
eg:
add_filter(‘the_content’, ‘myfunc’);I want myfun excutes only in the single post page ,not in the archive or other page?
how can I do it?
thank you!
- The topic ‘add_filter problems’ is closed to new replies.