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
Shane
Supporter
Languages:
English (English )
Timezone:
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