NO BUG: customLabelMapping ignored within bricks/element/settings hook

Hey there,

Trying to follow this Filter based on custom field I noticed that Bricks seems to ignore the customLabelMapping when edited directly from within the hook bricks/element/settings

print_r($settings) before returning them:

After saving the page, and updating the index, no label is changed:

image

Any help would, confirmation, or workaround would be highly appreciated :slight_smile:

Hello @frussane,

this should work, and it’s not a bug. That’s why I will mark this topic as no bug, and because I see that you posted the same in the How To category, I answered there.

Best regards,
Matej

1 Like