To add a modifier to your custom merge tag, you can modify the replace_conclusion function to parse the modifier value from the merge tag and use it to construct the final HTML output.
Here is an updated version of your code with a modifier added:
In the custom_merge_tags function, we modified the tag to {conclusion:modifier} to indicate that this tag can take a modifier value. In the replace_conclusion function, we used the regular expression preg_match to extract the modifier value from the merge tag. This value was then used to generate the final HTML output.
Hi Yoann,
Great to hear that the issue has been resolved! If you require any additional assistance in the future, please do not hesitate to open a new ticket.