Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$type = 'commerce_order_order_confirmation';
$order = commerce_order_load(1);
$message = message_create($type);
$wrapper = entity_metadata_wrapper('message', $message);
// Grab the message id from this and then put it in the message_load below.
$message = message_load(67);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.