Trigger on Attachment Edit

Runs while WordPress prepares editable fields for an attachment in the admin interface. This is a screen-preparation hook, not proof that the attachment was saved.

What it means: Runs while WordPress prepares editable fields for an attachment in the admin interface. This is a screen-preparation hook, not proof that the attachment was saved.

Screenshot to add: [Workflow editor Attachment Edit trigger configuration]

WordPress hook

attachment_fields_to_edit

When to use this trigger

  • Choose this event when your workflow should start at the stage described above, rather than relying on a similarly named event that runs earlier or later.
  • After selecting the trigger, inspect the available trigger data in the editor and map only the values needed by later actions.
  • Test the exact scenario on a staging site or with a low-risk record before enabling actions that send messages, change permissions, or modify data.

Important notes

This trigger is registered from the WordPress hook catalog in the plugin source. WordPress hooks can fire during setup, before a change is complete, or multiple times during one user action. Confirm the actual firing point and available payload in your environment before relying on it for business-critical automation.