I am trying to: dynamically redirect to a page when deleting a post.
I have my delete post link set up like this:
[cred_delete_post_link action="delete" text="Delete" message="Are you sure you want to delete this?" message_show="1" class="cred-refresh-after-delete" redirect="[delete-redirect]"]
I have the following in my functions.php. You'll note i've manually defined the ID for the moment, to rule out an issue with my cookie: