gpml_image_merge_tag_skip_modifiers

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

Description

Filter the list of merge tag modifiers that should be skipped for GP Media Library image merge tag replacement.

Usage

Applied globally

add_filter( 'gpml_image_merge_tag_skip_modifiers', 'my_custom_function' );

Parameters

$skip_modifiers array

List of modifier strings to skip.

$modifiers array

The current list of modifiers for this merge tag.

$input_id int

The input ID for the merge tag.

$image_ids array

The image IDs for the field/input.

Since

  • 1.2.35 Hook added.