這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Enhanced Emails

外掛說明

This plugin is in early development stage. Expect bugs.

安裝方式

  1. Upload the enhancedemails folder to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Will the plugin break my current site?

This is highly unlikely to happen. The plugin enhances the way WordPress handles e-mail notifications, but it does it in a unobtrusive way. Basically, it provides a wrapper for wp_mail, which can be used for e-mail notifications. If you did override any pluggable email notification functions, make sure to use eemails_wp_mail instead of wp_mail in order to make use of the plugin functionality.

How can I create my own e-mail theme?

It’s easy – just put your email.php theme file inside your current WP theme directory (if you put it inside wp-content it should work as well, but it’s bad practice).

How does template hierarchy work for e-mails?

An example email template name looks like this: email-action1-action2. The plugin tries to locate email-action1-action2.php in your theme folder, and if it fails – it tries to use email.php from your theme. If this fails, too, the plugin will use its default email-action1-action2.php template, or if it doesn’t exist – just emails.php.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Enhanced Emails〉的開發相關工作。

參與者

將〈Enhanced Emails〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1

Basic functionalities added.

0.2

  • Refactored template hierarchy
  • Added output sanitization
  • Removed output buffering
  • Added a general layout to avoid code duplication
  • Theme CSS improvements
  • Adjusted wp_mail wrapper to exactly fit the argument structure
  • Improved documentation