Title: does &#8220;wp_insert_post&#8221; modify post_content?
Last modified: August 18, 2016

---

# does “wp_insert_post” modify post_content?

 *  [davidevans](https://wordpress.org/support/users/davidevans/)
 * (@davidevans)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/does-wp_insert_post-modify-post_content/)
 * I’m new to wordpress and I’m trying to get another unix app to create a post 
   that contains a small number of html tags.
 * I’m convinced that immediately before I call wp_insert_post, my `post_content`
   contains something like `<td class="myclass">some-data</td>` but by the time 
   it’s been posted it looks like `<td>some-data</td>`.
 * I’m completely in cotrol of the incoming text and all necessary style-classes
   are in my style sheet. Is there some way I can post my text intact?
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Thread Starter [davidevans](https://wordpress.org/support/users/davidevans/)
 * (@davidevans)
 * [18 years, 11 months ago](https://wordpress.org/support/topic/does-wp_insert_post-modify-post_content/#post-594223)
 * I’ve found something that seems to force wordpress to do what I want but I can’t
   find it documented anywhere.
 * I’ve added `no_filter` to my `wp_insert_post` parameters.
 * Is this dangerous or is it a sensible thing to do?
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘does “wp_insert_post” modify post_content?’ is closed to new replies.

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [davidevans](https://wordpress.org/support/users/davidevans/)
 * Last activity: [18 years, 11 months ago](https://wordpress.org/support/topic/does-wp_insert_post-modify-post_content/#post-594223)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
