Title: 404 error filter hook
Last modified: August 19, 2016

---

# 404 error filter hook

 *  [2046](https://wordpress.org/support/users/o-o/)
 * (@o-o)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/404-error-filter-hook/)
 * Hello
 * Don’t you know where to apply add_filter hook in 404 error pages when the the_content,
   the_post doesn’t exist on 404 error pages?
 * The goal is to replace “the content” or include on it’s place custom error message.
   
   I know I can place it in template straight, but that’s not what I want to do.
 * thx 2046

The topic ‘404 error filter hook’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [2046](https://wordpress.org/support/users/o-o/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/404-error-filter-hook/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
