For the complete documentation index, see llms.txt. This page is also available as Markdown.

acpt/form/save

Fires after a form's settings are saved

Type: Action

Fires after a form's settings (excluding its fields — see acpt/form_fields/save) are created or updated.

Parameters

Parameter
Type
Description

$command

SaveFormCommand

The command instance that performed the save

$form

FormModel

The saved form

Usage

add_action("acpt/form/save", function(SaveFormCommand $command, FormModel $form){
    // do something
}, 10, 2);

Last updated