Attachments is an array Closes #4531

This commit is contained in:
Mike Jolley 2014-01-20 15:33:33 +00:00
parent db5dfa0c01
commit 0d52064bd8
1 changed files with 2 additions and 2 deletions

View File

@ -237,10 +237,10 @@ abstract class WC_Email extends WC_Settings_API {
* get_attachments function. * get_attachments function.
* *
* @access public * @access public
* @return string * @return array
*/ */
function get_attachments() { function get_attachments() {
return apply_filters( 'woocommerce_email_attachments', '', $this->id, $this->object ); return apply_filters( 'woocommerce_email_attachments', array(), $this->id, $this->object );
} }
/** /**