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

Redirect Emails on Staging

설명

When using the Staging site on WP Engine, you may want to prevent the staging version of your site from sending emails to your site users. This plugin redirects all emails to the site admin.

This plugin should be activated on your Production site. Don’t worry — it won’t do anything unless it is active on Staging site. Once you create a new copy of your Staging site, the plugin will start taking effect there.

This plugin is compatible with WordPress Multisite. If you’re using it in a Multisite environment, it is recommended to either Network Activate the plugin, or follow the instructions for installing it to the mu-plugins directory.

설치

Simple installation:

  1. Upload the redirect-emails-on-staging folder to your /wp-content/plugins/ directory
  2. Activate the plugin through the “Plugins” menu in WordPress

Advanced installation (mu-plugins directory):

  1. Upload just the redirect-emails-on-staging.php file to your /wp-content/mu-plugins/ directory
  2. That’s it… the plugin is already activated! Take a look under Plugins > Must Use

FAQ

Where do I find the Site Admin email?

On a normal WordPress installation, go to the Dashboard, then to Settings > General. Look for the “E-mail Address” field.

On a Multisite WordPress installation, go to the Network Dashboard, then to Settings > Network Settings. Look for the “Network Admin Email” field.

What if I forget to install this plugin when I recreate my Staging Site?

It is recommended to activate this plugin on your Production site. It won’t have any affect on your Production site email, and then when you go to recreate your Staging site, it will already be activated and working.

후기

2023년 11월 16일 5 replies
With this plugin active, email still was sent to original intended target email (when using Post SMTP for sending, not sure if that makes difference). Second, when I disabled Post SMTP, no email got sent at all (expected: email is redirect to server admin email address).
모든 2 평가 읽기

기여자 & 개발자

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

기여자

자국어로 “Redirect Emails on Staging”(을)를 번역하세요.

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

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.2.0 – 2022-03-18

  • Add – Native wp_get_environment_type() support.
  • Add – Support for checking with Jetpack for staging.
  • Add – Support for modifying CC and BCC lists in emails.
  • Dev – Add separate changelog file.
  • Dev – add automated build process.
  • Tweak – WP 5.9 compatibility.

1.1.0

  • Under-the-hood change: use a class for the main plugin functionality
  • Check PHP version with an activation hook
  • Update the “Tested up to” tag

1.0.0

  • Created the plugin