Title: modify post_content before insert into mysql
Last modified: August 19, 2016

---

# modify post_content before insert into mysql

 *  Resolved [gezer04](https://wordpress.org/support/users/gezer04/)
 * (@gezer04)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/modify-post_content-before-insert-into-mysql/)
 * Hello,
 * I want to modify the posted content before inserting into the database… how is
   it possible? I searched a lot and I did not find the answer.Where I must put 
   $post->post_content = ‘whatererIwant’?
 * Thanks a lot!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [vtxyzzy](https://wordpress.org/support/users/vtxyzzy/)
 * (@vtxyzzy)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/modify-post_content-before-insert-into-mysql/#post-1763996)
 * You can use a Database Write Filter, described in the Codex [here](http://codex.wordpress.org/Plugin_API/Filter_Reference#Database_Writes).
 *  Thread Starter [gezer04](https://wordpress.org/support/users/gezer04/)
 * (@gezer04)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/modify-post_content-before-insert-into-mysql/#post-1764313)
 * thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘modify post_content before insert into mysql’ is closed to new replies.

## Tags

 * [post](https://wordpress.org/support/topic-tag/post/)
 * [sql](https://wordpress.org/support/topic-tag/sql/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [gezer04](https://wordpress.org/support/users/gezer04/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/modify-post_content-before-insert-into-mysql/#post-1764313)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
