Passer la navigation

[Résolu] Link to delete user

This support ticket is created Il y a 3 years, 8 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Fuseau horaire du supporter : America/Jamaica (GMT-05:00)

Ce sujet contient 1 reply, a 2 voix.

Dernière mise à jour par Shane Il y a 3 years, 8 months.

Assisté par: Shane.

Auteur
Publications
#2246203

Hello, how is everything?

I'm creating an admin dashboard for a customer's website.

I have several views, both posts and users.

I need to create a link for the admin to delete users.

For the posts, I managed to make it work perfect, I use the shortcode below:

[cred_delete_post_link post="[wpv-post-id]" text="<i class='far fa-trash-alt' data-bs-toggle='tooltip' title='Delete'>" action= "delete" message="Are you sure you want to delete?" message_after="Successfully deleted!" class="cred-refresh-after-delete" redirect="355"]

how to do the same functionality but for users?

remembering that I use the legacy views plugin, by code.

I'm waiting.

Thanks

#2246301

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Henrique,

Thank you for getting in touch.

This is not something that is innately possible with our Toolset plugins and as such will need to be done by using a hook.

One of our supporters had handled a similar case and posted the solution in the thread below.
https://toolset.com/forums/topic/add-the-link-delete-account/#post-606430

Please let me know if this was able to help you.

Thanks,
Shane