The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
[Closed] customize URL in notification emails
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
How-to and Troubleshooting
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Jul 03, 2020 7:04 pm
(@atriaforever)
Eminent Member
Joined: 6 years ago
I use a plugin of my own to protect access to pages built with WP, and if a user is not allowed to see a page, he is automatically redirected to an error page.
This plugin manages authorizations with time period, and a user authorized to see and comment a page one month ago may be not authorized to do so today.
Therefore, I am looking for a solution to customize the URLs used in notification emails: POST_URL, CONFIRM_URL, CANCEL_URL, COMMENT_URL and UNSUBSCRIBE_URL.
Do you provide a WP hook or another feature to manage this?
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Jul 04, 2020 12:11 pm
(@asti)
Illustrious Member
Joined: 8 years ago
Hi @atriaforever,
I'm really sorry, but there is no easy way we can recommend. wpDiscuz uses the native (core) wp_mail() function.
You should use the hooks of the function and make it work.
https://core.trac.wordpress.org/browser/tags/5.4/src/wp-includes/pluggable.php#L181