You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,6 +92,8 @@ Some events can have filters applied to them, which prevent webhooks from being
92
92
93
93
<imgsrc="./images/event-filters.png"width="414"height="381"alt="Screenshot of the Event Filters setting">
94
94
95
+
Ignored filters (`○`) will not have any impact. Positive filters (`✓`) will be required for a webhook to execute, and a negative filter (`×`) will prevent it.
96
+
95
97
Only element class events and certain `craft\services\Elements` events have any filters out of the box, but modules and plugins can register additional filters using the `craft\webhooks\Plugin::EVENT_REGISTER_FILTER_TYPES` event.
Copy file name to clipboardExpand all lines: src/templates/_manage/edit.html
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -80,9 +80,9 @@
80
80
<th>{{ filter.displayName }}</th>
81
81
<td>
82
82
<divclass="btngroup" tabindex="0">
83
-
<divclass="btn filter-no{% if filter.enabled and not filter.value %} active{% endif %}" data-icon="remove"></div>
84
-
<divclass="btn filter-ignore{% if not filter.enabled %} active{% endif %}"><divclass="status"></div></div>
85
-
<divclass="btn filter-yes{% if filter.enabled and filter.value %} active{% endif %}" data-icon="checkmark"></div>
83
+
<divclass="btn filter-no{% if filter.enabled and not filter.value %} active{% endif %}" data-icon="remove"title="{{ 'Prevents webhook execution.'|t('webhooks') }}"></div>
84
+
<divclass="btn filter-ignore{% if not filter.enabled %} active{% endif %}"title="{{ 'No impact on webhook execution.'|t('webhooks') }}"><divclass="status"></div></div>
85
+
<divclass="btn filter-yes{% if filter.enabled and filter.value %} active{% endif %}" data-icon="checkmark"title="{{ 'Required for webhook execution.'|t('webhooks') }}"></div>
0 commit comments