Skip to main content
Version: v7

List of all default Triggers

Comment

This covers all the comment types. Use comment, pingback, trackback, another_comment_type instead of the {comment_type_slug}.

Trigger nameTrigger slug
Comment addedcomment/{comment_type_slug}/added
Comment approvedcomment/{comment_type_slug}/approved
Comment repliedcomment/{comment_type_slug}/replied
Comment spammedcomment/{comment_type_slug}/spammed
Comment trashedcomment/{comment_type_slug}/trashed
Comment unapprovedcomment/{comment_type_slug}/unapproved
Comment publishedcomment/{comment_type_slug}/published

Media

Trigger nameTrigger slug
Media addedmedia/added
Media trashedmedia/trashed
Media updatedmedia/updated

Plugin

Trigger nameTrigger slug
Plugin activatedplugin/activated
Plugin deactivatedplugin/deactivated
Plugin installedplugin/installed
Plugin removedplugin/removed
Plugin updatedplugin/updated

Post

This covers all the custom post types, as well. Use post, page, product, another_post_type instead of the {post_type_slug}.

Trigger nameTrigger slug
Post addedpost/{post_type_slug}/added
Post saved as a draftpost/{post_type_slug}/drafted
Post sent for reviewpost/{post_type_slug}/pending
Post publishedpost/{post_type_slug}/published
Post trashedpost/{post_type_slug}/trashed
Post updatedpost/{post_type_slug}/updated
Post scheduledpost/{post_type_slug}/scheduled

Taxonomy

This covers all the taxonomies. Use category, post_tag, another_taxonomy instead of the {taxonomy_slug}.

Trigger nameTrigger slug
Taxonomy term createdtaxonomny/{taxonomy_slug}/created
Taxonomy term deletedtaxonomny/{taxonomy_slug}/deleted
Taxonomy term updatedtaxonomny/{taxonomy_slug}/updated

Theme

Trigger nameTrigger slug
Theme installedtheme/installed
Theme switchedtheme/switched
Theme updatedtheme/updated

User

Trigger nameTrigger slug
User deleteduser/deleted
User loginuser/login
User login faileduser/login_failed
User logoutuser/logout
User password changeduser/password_changed
User password reset requestuser/password_reset_request
User profile updateduser/profile_updated
User role changeduser/role_changed

WordPress

Trigger nameTrigger slug
Available updateswordpress/updates_available