Skip to main content

Filter: gk/foundation/merge-tags/product-versions

Filters the product versions the merge tag picker gates its catalog against.

A product missing from this array has its tags withheld, so this is the escape hatch for a build this cannot identify -- a plugin renamed, bundled, or loaded from outside the plugins directory.

Parameters​

NameTypeDescription
$versionsarray<string,mixed>Catalog product slug => version string. A callback may return anything; only text and numbers are kept.

Source​

Defined in MergeTags/Registry.php at line 958