jigoshop/jigoshop — pull request #317 by adamnbowen (2011-10-12 23:31:50+00:00)
Title: Email actions

This adds 4 hooks into the email system:

```php
do_action('jigoshop_after_email_order_info', $order->id);
do_action('jigoshop_after_email_customer_details', $order->id);
do_action('jigoshop_after_email_billing_address', $order->id);
do_action('jigoshop_after_email_shipping_address', $order->id);
```

In order to achieve proper usefulness for these hooks, I had to use output buffers with echo statements, instead of the current method, which concatenates `$message` endlessly.
So now we can add text of our choosing like this:

```php

Do some plaintext stuff here

Some more plaintext