Can WordPress delete custom post type in front end & redirect to a specific page?
I made it possible to delete the post from the front end with this code (https://wordpress.stackexchange.com/questions/132196/get-delete-post-link-redirect): <a class="button-iv" onclick="return confirm('are you sure...?');" href="<?php echo get_delete_post_link( $post->ID ); ?>" title="delete doc">Delete doc</a> In functions.php i have this code for redirect after…