Skip to main content

Filter: gk/lookup/field/display/missing

Filters the display value for a deleted or missing lookup object.

When a lookup field references an object that no longer exists (deleted user, trashed post, removed entry), this filter controls what is displayed.

Parameters

NameTypeDescription
$displaystringThe fallback display value. Default: the raw ID.
$idstringThe object ID that could not be resolved.
$source_typestringThe lookup source type.
$field\GF_FieldThe lookup field object.

Since

Source

Defined in includes/Resolver.php at line 279