flowcrafter_default_form_source_field

  1. Description
  2. Usage
  3. Parameters
  4. Examples
    1. Change the shared Form Source field
  5. Since

Description

Filter the default form_source field definition.

Usage

Change the shared Form Source field.

add_filter( 'flowcrafter_default_form_source_field', 'my_custom_function' );

Parameters

$field array

The field definition.

$handler Abstract_Node_Handler

The handler instance.

Examples

Change the shared Form Source field

add_filter( 'flowcrafter_default_form_source_field', function ( $field ) {
    $field['label'] = 'Form to use';
    return $field;
} );

Since

  • 1.0-beta-1 Hook added.