I use this code for my phplist form plug in.
<?php $content = apply_filters(‘the_content’, ‘<!–phplist form–>’);
$content = str_replace(“<p>”,””,$content);
$content = str_replace(“</p>”,””,$content);
However, somehow, it spits out the code for my phplist form, but it also splits out this..
<span class=”fdPrintIncludeParentsPreviousSiblings”></span><span class=”fdPrintIncludeParentsChildren”></span><span class=”fdPrintExcludeNextSiblings”></span>
This is a button for my cleanprint plugin.
How does apply filters work? What could be a problem?
- The topic ‘Apply filters for phplist might not be compatible with cleanprint’ is closed to new replies.