Title: Filter Action Hook Problem
Last modified: August 20, 2016

---

# Filter Action Hook Problem

 *  [Opticalworm](https://wordpress.org/support/users/opticalworm/)
 * (@opticalworm)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/filter-action-hook-problem/)
 * Hello everyone,
 * I’m trying to apply a filter to the post content before it get save to the database
   that way the filter is only done once.
    I don’t want to use the content filter
   because it would mean that my filter is applied every time the content is displayed.
 * for example:
    add_filter(‘the_content’, ‘FilterFunction’);
 * I’ve tried using the action hook “pre_post_update” but it didn’t seem to do anything
   and the Codex documentation doesn’t exist.
 * Any Ideas?

The topic ‘Filter Action Hook Problem’ is closed to new replies.

## Tags

 * [action](https://wordpress.org/support/topic-tag/action/)
 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * 0 replies
 * 1 participant
 * Last reply from: [Opticalworm](https://wordpress.org/support/users/opticalworm/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/filter-action-hook-problem/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
