Programmatically Create 'full_html' Page Node in Drupal 7 So I'm able to create a page programmatically, BUT even though I'm specifying the 'full_html' filter, the page is being created with the 'filtered_html' filter which means that the code I'm writing to the page after it's created is being stripped out.  Here's the line I'm using to set the filter type:

$node-&gt;body[$node-&gt;language][0]['format'] = 'full_html';


Why is the filter type being ignored when the node is created?

Thanks in advance,
Bryan
OK, as it turns out, the 'body' field is not called 'body' in our Drupal installations; it's called 'field_page_body'. Changing that in the code made everything work.