Title: Mailroad Switch
Author: MARSWorks Inc.
Published: <strong>2021년 6월 10일</strong>
Last modified: 2021년 6월 10일

---

플러그인 검색

![](https://ps.w.org/mailroad-switch/assets/banner-772x250.png?rev=2545859)

이 플러그인은 **최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다**. 워드프레스의
좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 
있을 수 있습니다.

![](https://ps.w.org/mailroad-switch/assets/icon.svg?rev=2545859)

# Mailroad Switch

 작성자: [MARSWorks Inc.](https://profiles.wordpress.org/marsworks/)

[다운로드](https://downloads.wordpress.org/plugin/mailroad-switch.1.0.zip)

 * [세부사항](https://ko.wordpress.org/plugins/mailroad-switch/#description)
 * [평가](https://ko.wordpress.org/plugins/mailroad-switch/#reviews)
 *  [설치](https://ko.wordpress.org/plugins/mailroad-switch/#installation)
 * [개발](https://ko.wordpress.org/plugins/mailroad-switch/#developers)

 [지원](https://wordpress.org/support/plugin/mailroad-switch/)

## 설명

This plugin allows you to set multiple admin email addresses. This means that you
can finally send all of those New User emails to go to HR, and send those WP Error
and Automatic Update emails to IT.

## 스크린샷

[⌊New admin email options⌉⌊New admin email options⌉[

New admin email options

## 설치

 1. Upload `mailroad-switch.zip` through the ‘Add Plugins’ screen in WordPress.
 2. Activate the plugin in WordPress.
 3. Navigate to Settings > General to input your new email addresses.

## FAQ

### What Plugins are Supported?

Currently, the only third-party plugin which is supported is ‘Enable jQuery Migrate
Helper’

We did this because this plugin is used on many sites since the release of WordPress
5.2. Enable jQuery Migrate Helper comes with weekly emails along with emails regarding
automatic downgrades of your site’s jQuery version.

You will be able to set an email recipient for the emails from Enable jQuery Migrate
Helper. This option will only show if you have the Enable jQuery Migrate Helper 
plugin in your WordPress plugins directory.

### How do I retrieve a value to use in my code?

You are able to use the static method `get_email_recipient`

    ```
    $address = \Mailroad_Switch\Includes\Settings::get_email_recipient( 'errors' );
    ```

Default valid values passed to the method are:
 + `updates` + `errors` + `users`
+ `jquery_migrate`

If the email type does not exist or the option is not set for it, it will fallback
to the admin email address you have set for your WordPress site.

### I have a plugin that is sending me emails, but I do not see an option to change the email recipient. What do I do?

You can open a question in the support forum to the right, and request that we add
support for a third-party plugin.

### I don’t have time to wait for you to add support for more plugins! I need to do it right now! *For Developers Only*

You are able to use the filter `mailroad_switch_available_hooks`

    ```
    add_filter( "mailroad_switch_available_hooks", function( $types ){
       if( ! array_key_exists( "my_unique_type", $types ) ){
          $types["my_unique_type"] = [
             "label" => "My Unique Type",
             "description" => "Emails coming from my custom plugin or theme",
             "class" => "\My\Class\Handler"
          ];
       }
       return $types;
    } );
    ```

The above code snippet will add a new admin setting below the other fields. The 
construct of your `\My\Class\Handler` should have one parameter which will be the
email address retrieved from the setting. You can then implement any WordPress or
Plugin or Theme action and filter hooks in your class to change email recipients.

## 후기

이 플러그인에 대한 평가가 없습니다.

## 기여자 & 개발자

“Mailroad Switch”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에
기여하였습니다.

기여자

 *   [ MARSWorks Inc. ](https://profiles.wordpress.org/marsworks/)

[자국어로 “Mailroad Switch”(을)를 번역하세요.](https://translate.wordpress.org/projects/wp-plugins/mailroad-switch)

### 개발에 관심이 있으십니까?

[코드 탐색하기](https://plugins.trac.wordpress.org/browser/mailroad-switch/)는, 
[SVN 저장소](https://plugins.svn.wordpress.org/mailroad-switch/)를 확인하시거나,
[개발 기록](https://plugins.trac.wordpress.org/log/mailroad-switch/)을 [RSS](https://plugins.trac.wordpress.org/log/mailroad-switch/?limit=100&mode=stop_on_copy&format=rss)
로 구독하세요.

## 변경이력

#### 1.0

 * Initial launch of plugin
 * Includes support for WordPress Core email notifications for User notices, WP 
   Error notices, and Automatic Update notices.
 * Includes support for Enable jQuery Migrate Helper plugin email notices.

## 기초

 *  버전 **1.0**
 *  최근 업데이트: **5년 전**
 *  활성화된 설치 **10+**
 *  워드프레스 버전 ** 5.2 또는 그 이상 **
 *  다음까지 시험됨: **5.7.15**
 *  PHP 버전 ** 7.4 또는 그 이상 **
 *  언어
 * [English (US)](https://wordpress.org/plugins/mailroad-switch/)
 * 태그:
 * [admin](https://ko.wordpress.org/plugins/tags/admin/)[email](https://ko.wordpress.org/plugins/tags/email/)
   [emails](https://ko.wordpress.org/plugins/tags/emails/)[separate](https://ko.wordpress.org/plugins/tags/separate/)
 *  [고급 보기](https://ko.wordpress.org/plugins/mailroad-switch/advanced/)

## 평점

아직 제출된 리뷰가 없습니다.

[Your review](https://wordpress.org/support/plugin/mailroad-switch/reviews/#new-post)

[모든  리뷰 보기](https://wordpress.org/support/plugin/mailroad-switch/reviews/)

## 기여자

 *   [ MARSWorks Inc. ](https://profiles.wordpress.org/marsworks/)

## 지원

할 말 있으신가요? 도움이 필요하신가요?

 [지원 포럼 보기](https://wordpress.org/support/plugin/mailroad-switch/)