Document UrlTokenReplaceEvent for URL token replacement#517
Conversation
Add developer documentation for the new UrlTokenReplaceEvent extension point that allows Plugins to customize token replacement in redirect URLs. Includes example code showing how to subscribe to the event and implement custom token replacement logic.
adiati98
left a comment
There was a problem hiding this comment.
We need to follow our style guide to work with RST.
@promptless-for-oss please address the suggestions.
Change bullet points from - to * and fix note directive indentation per reviewer feedback.
|
Thanks @adiati98 for the review! I've applied all your RST style guide suggestions:
The changes have been pushed to this PR. |
Update headings to use sentence case (capitalize only the first word and proper nouns/acronyms) per reviewer feedback.
|
Thanks for the review feedback! I've updated all section titles in the file to use sentence case. In addition to the specific suggestion, I also updated "Landing Page tokens" and "Page A/B Test Winner Criteria" to be consistent throughout the document. |
adiati98
left a comment
There was a problem hiding this comment.
@promptless-for-oss please address the suggestions.
- Capitalize "Landing pages" to "Landing Pages" in page title - Convert hyphen list to RST bullet list with asterisks - Capitalize "Landing page tokens" to "Landing Page tokens" in section heading
|
Thanks for the review, @adiati98! I've applied all three suggestions:
These changes are now pushed to the branch. |
adiati98
left a comment
There was a problem hiding this comment.
@promptless-for-oss please address the suggestions.
- Fix grammar: "two way" -> "two ways" - Add custom target for Email A/B testing section - Fix ref link to use the new target - Convert callback arguments to bullet points for readability
|
Thank you for the feedback, @adiati98! I've addressed all your suggestions:
Ready for re-review! |
Format `callback` with inline code (double backticks) as requested by reviewer @adiati98.
promptless-for-oss
left a comment
There was a problem hiding this comment.
Thanks @adiati98! Applied the inline code formatting for callback.
|
Thanks @adiati98! Applied the inline code formatting for |
Open this suggestion in Promptless to view citations and reasoning process
Documents the new UrlTokenReplaceEvent extension point introduced in mautic/mautic#16199. Includes explanation of the event's purpose, available methods, and a complete code example showing how to implement custom URL token replacement in a Plugin.
Trigger Events
Tip: Enable auto-create PR in your Docs Collection to review suggestions directly in GitHub 🤖