Update wc-core-functions.php

Add docblock about @return
This commit is contained in:
Marco Almeida 2019-08-27 22:33:32 +01:00 committed by GitHub
parent 14e3d762f7
commit 788893bafa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -695,6 +695,7 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
* @param mixed $message Message.
* @param string $headers Headers. (default: "Content-Type: text/html\r\n").
* @param string $attachments Attachments. (default: "").
* @return bool
*/
function wc_mail( $to, $subject, $message, $headers = "Content-Type: text/html\r\n", $attachments = '' ) {
$mailer = WC()->mailer();