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