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

Trigger Happy

外掛說明

Connect your plugins and automate your workflow.

Trigger Happy is a visual scripting tool for WordPress, allowing you to connect plugins and events together using a simple user interface.

Currently supports core WordPress functionality, plus WooCommerce and Ninja Forms

Some examples of what can be achieved using Trigger Happy:
* Sending emails when an event occurs (such as user registration)
* Create posts from the front-end using WP Forms
* Calculate discounts or fees on WooCommerce orders
* Create WooCommerce coupons when a user fills out a contact form
* Change Navigation menus when the user is logged in
* Add HTML to a WooCommerce page
* Modify the WordPress post titles and content before they are rendered

Conditional execution

Conditions can be applied to flows (for example, “If User is Logged In”). These conditions control the execution of the “Flow” they’re added to, allowing you to
create complex flows without having to write code.

螢幕擷圖

  • An example of a flow redirecting to a URL once a form has been submitted
  • Flow showing a members-only WooCommerce discount for logged in users
  • Adding custom content to the bottom of all posts

安裝方式

  1. Upload the plugin files to the /wp-content/plugins/trigger-happy directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Start creating your Trigger Happy flow by clicking “Trigger Happy->Add New” in the dashboard
  4. Select a trigger (for example: When an comment is created)
  5. Select the actions you want to attach to this trigger (eg: Send an email, or Create a post)

常見問題集

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/trigger-happy directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Start creating your Trigger Happy flow by clicking “Trigger Happy->Add New” in the dashboard
  4. Select a trigger (for example: When an comment is created)
  5. Select the actions you want to attach to this trigger (eg: Send an email, or Create a post)
Can I perform calculations?

Yes – calculations are fully supported. Use existing data (for example, post meta data or product prices) to calculate values for actions.

Does this replace PHP coding?

No. While it does allow you to add functionality to your site that would require coding without this plugin, it is not intended to replace coding completely.
What it intends to do is allow non-developers to tweak the functionality of their site without copying+pasting code.

Do you support [Plugin name here]?

We are adding support for plugins every week. The supported plugins are listed above.
If you need support for a particular plugin, let us know.

Can I hook into core WordPress hooks such as init or pre_get_posts

This will be possible in the next version. We are trying to figure out how to allow this while protecting non-developer users from breaking their sites.

Can I export my flow to a PHP file or plugin?

Not yet – but this is currently being worked on.

使用者評論

2019 年 5 月 14 日
Great idea plugin, but… – action create / update post not work – last update 1 years ago (now may 2019) – action update post not update a custom fields, only title and content (suggest for update) Fix point 1 and review my rate. 🙂
閱讀全部 2 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.0.1

  • Added IFTTT WebHook Support

1.0

  • First release