WC_Email::get_reply_to_address
Get the reply-to address for outgoing emails.
Метод класса: WC_Email{}
Хуки из метода
Возвращает
string.
Использование
$WC_Email = new WC_Email(); $WC_Email->get_reply_to_address( $reply_to_email );
- $reply_to_email(строка)
- Default reply-to email address.
По умолчанию:''
Код WC_Email::get_reply_to_address() WC Email::get reply to address WC 11.3.0
public function get_reply_to_address( $reply_to_email = '' ) {
/**
* Filter the reply-to address for emails.
*
* @since 10.4.0
* @param string $reply_to_email Reply-to email address.
* @param WC_Email $email WC_Email instance managing the email.
* @param string $default_email Default reply-to email address.
*/
$reply_to_email = apply_filters( 'woocommerce_email_reply_to_address', get_option( 'woocommerce_email_reply_to_address', '' ), $this, $reply_to_email );
return sanitize_email( $reply_to_email );
}