gpml_multi_file_merge_tag_glue

  1. Description
  2. Usage
  3. Parameters
  4. Since

Description

Specify how individual images should be joined for multi-file merge tags

Usage

Apply to all forms and fields.

add_filter( 'gpml_multi_file_merge_tag_glue', 'my_custom_function' );

Apply to all fields of a specific form.

add_filter( 'gpml_multi_file_merge_tag_glue_{FORMID}', 'my_custom_function' );

Apply to a specific form and field.

add_filter( 'gpml_multi_file_merge_tag_glue_{FORMID}_{FIELDID}', 'my_custom_function' );

Parameters

  • glue string

    The string that should be used to join individual image strings.

  • merge_tag array

    An array of properties for the matched merge tag.

  • form array

    The current form object.

  • field_id array

    The ID of the current field.

Since

This filter is available since GP Media Library 1.0.8.