Skip Navigation

[Closed] onsuccess='self' do not work

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.

This topic contains 1 reply, has 2 voices.

Last updated by Christopher Amirian 1 year, 3 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2637509

Tell us what you are trying to do?
Refresh the page after delete a post

<p style="text-align: right;">[cred_delete_post_link text='Verwijder' message='Weet je zeker dat je dit project wilt verwijderen?' message_after='Project verwijderd' message_show='1' action='delete' onsuccess='self' ]</p>

But it don't.
I get a message that the post has been removed, but I have to refresh the page myself.

What is the link to your site?
hidden link

#2637971

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

You are using a deprecated shortcode. Pleas instead, use the shortcode below:

https://toolset.com/documentation/programmer-reference/forms/cred-shortcodes/#cred-delete-post

Thanks.

The topic ‘[Closed] onsuccess='self' do not work’ is closed to new replies.