Filter the_content only when outputting full content?
-
Is there any way for a plugin filter function to detect when
the_content
is being called within a post or page only?For instance, when
the_excerpt_rss()
is called from another plugin or theme, it also callsthe_content
so my filter gets loaded.The problem is that my filter should only run when
the_content
is actually outputting the content (in full) on the page.Is there any way to detect this, or possible workarounds?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Filter the_content only when outputting full content?’ is closed to new replies.