WordPress.org

Support

Support » How-To and Troubleshooting » Apply filters for phplist might not be compatible with cleanprint

Apply filters for phplist might not be compatible with cleanprint

  • 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);
    echo $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>
    <img src=”http://sallystrovetoday.com/WPress/wp-content/plugins/cleanprint-lt/BlogPrintButton.png”>

    This is a button for my cleanprint plugin.

    How does apply filters work? What could be a problem?

    Grae

  • The topic ‘Apply filters for phplist might not be compatible with cleanprint’ is closed to new replies.
Skip to toolbar