How do I programmatically apply a Drupal input filter?
        Posted  
        
            by ford
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by ford
        
        
        
        Published on 2010-06-02T17:17:59Z
        Indexed on 
            2010/06/02
            17:24 UTC
        
        
        Read the original article
        Hit count: 208
        
I am currently exporting Drupal data to an external source (XML) programmatically. However, I want the data to run through the site's default Input Format (the filter that runs before user content is displayed on the website) before being written to file.
How do I programmatically apply a Drupal input filter? Is there a specific function call or hook for this purpose? If so, links/advice would be most appreciated.
© Stack Overflow or respective owner