Title: Need help with wordpress hook..
Last modified: August 19, 2016

---

# Need help with wordpress hook..

 *  [Thamizhchelvan](https://wordpress.org/support/users/thamizhchelvan/)
 * (@thamizhchelvan)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/need-help-with-wordpress-hook/)
 * Hi,
 * I want to get the post data (post_title, post_content, post_tags & post_categories)
   before the post data is saved into the database. The reason is, I want to update
   my own contents with the submitted post data before it’s saved into db.
 * I have tried ‘content_save_pre’, but there I can get only the post_content.
 * Thanks in advance.

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

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/need-help-with-wordpress-hook/#post-1437645)
 * Not sure if ‘save_post’ or ‘wp_insert_post’ will help you but might look at the`
   function wp_insert_post` in `wp-includes/post.php` to see what other filter/action
   you might hook into.
 *  Thread Starter [Thamizhchelvan](https://wordpress.org/support/users/thamizhchelvan/)
 * (@thamizhchelvan)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/need-help-with-wordpress-hook/#post-1437853)
 * well, I have tried ‘wp_insert_post_data’ hook, where I can get the post_title&
   able to update the post_content. But, not able to get the tags & categories of
   the post.
 * Any other useful hooks or ways?

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

The topic ‘Need help with wordpress hook..’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Thamizhchelvan](https://wordpress.org/support/users/thamizhchelvan/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/need-help-with-wordpress-hook/#post-1437853)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
