• 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

    (@davidevans)

    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.