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

wpMandrill Multisite

描述

Automatically propagates the wpMandrill settings from the main site to all subsites, still allowing each subsite to manually override them.

Getting Started

Go to Settings -> Mandrill and setup at minimum your API key, FROM name and FROM email. This will have your Mandrill plugin enabled and connected. This is all that is necessary for the wpMandrill Multisite plugin to work. These settings will now be automatically be propagated to the subsites that have no Mandrill settings. You can then manually override them for each site, if you prefer.

Further customization for developers

The plugin offers several hooks that allow developers to modify the default plugin behavior.

wpmandrill_multisite_site_id

$site_id (int). The ID of the current site.

This filter allows you to modify the ID of the current site. Unless the network is a multi-network (a network of multisite networks), this will usually be 1.

wpmandrill_multisite_propagation

$propagate (bool). Whether the settings should be propagated.

$blog_id (int). The ID of the currently iterated blog. Allows custom logic to be built.

This filter allows you to specify whether the wpMandrill settings should be propagated to the subsites. Using the $blog_id you can build a custom logic to disable propagation only for a certain blog. Or if you ignore $blog_id, you can globally disable the propagation.

wpmandrill_multisite_settings

$mandrill_settings (array). An array of all wpMandrill settings that will be propagated.

$blog_id (int). The ID of the currently iterated blog. Allows custom logic to be built.

This filter allows you to modify the wpMandrill settings that will be propagated to the subsites. Using $blog_id, you can use custom logic to change the settings only for a certain blog.

Ideas and bug reports

Any ideas for new modules or any other additional functionality that users would benefit from are welcome.

If you have an idea for a new feature, or you want to report a bug, feel free to do it here in the Support tab, or you can do it at the Github repository of the project:

https://github.com/tyxla/wpMandrill-multisite/

安裝

  1. Make sure you have the wpMandrill plugin installed and activated.
  2. Install wpMandrill Multisite either via the WordPress.org plugin directory, or by uploading the files to your server.
  3. Activate the plugin.
  4. That’s it. You’re ready to go!

評價

There are no reviews for this plugin.

貢獻者及開發者

“wpMandrill Multisite” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 wpMandrill Multisite 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0.3

Tested with WordPress 4.5.

1.0.2

Tested with WordPress 4.4.

1.0.1

Tested with WordPress 4.3.

1.0

Initial version.