Hello Support,
I am trying to redirect the students on tutor archive page- hidden link when they register on site, this page is built with toolset. I am unable to see any option- hidden link . please let me know how I can redirect the student on particular page.
Please fix the issue asap.
Thanks
Sid
Nigel
Supporter
Languages:
English (English )
Spanish (Español )
Timezone:
Europe/London (GMT+00:00)
Hi there
You have a form for users to register, and when they complete the form you want to redirect them to the tutor CPT archive, is that right?
Where it is not possible to add the target URL in the UI (as in this case), you can modify it with code using the cred_success_redirect hook (https://toolset.com/documentation/programmer-reference/cred-api/#cred_success_redirect ). See the example usage in the linked documentation.
Note that for the hook to fire, you must choose some redirect option (e.g. to some post), which you then override with the API hook.
My issue is resolved now. Thank you!