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