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: 152

Filed under:
|
|

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

Related posts about php

Related posts about drupal