Don’t use ‘echo’ in filters. You need to build the string up in a variable, and return the modified content. The way your filter function is coded, it kills other filters.
As one major example, with your plugin active, the ‘gallery’ shortcode can break. Since you aren’t passing the post content along to the next filter in the chain, the image gallery is never built.
- The topic ‘[Plugin: diggZ-Et] Doesn’t cooperate well with other filters…’ is closed to new replies.