Passer la navigation

[Résolu] Need to redirect the users on particular page after registration

This support ticket is created Il y a 3 years, 4 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par siddhantB Il y a 3 years, 4 months.

Auteur
Publications
#2536247

Hello Support,

I am trying to redirect the students on tutor archive page- lien caché when they register on site, this page is built with toolset. I am unable to see any option- lien caché . please let me know how I can redirect the student on particular page.

Please fix the issue asap.

Thanks
Sid

#2536501

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+01: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.

#2538925

My issue is resolved now. Thank you!