Yes, I’m aware that WPUF’s own dashboard provides a delete button. Unfortunately, my site is a WooCommerce site and therefore already has a user dashboard. Since the two dashboards do not integrate into one, I cannot use WPUF’s dashboard, as this would cause too much confusion.
Instead I have created a custom shortcode that simply adds a link to WPUF’s post edit page to all user posts.
function func_wpuf_edit_link($atts) {
return wp_nonce_url( '/edit-user-gallery/?pid=' . $atts['post-id'], 'wpuf_edit' );
}
add_shortcode( 'wpuf_edit_link', 'func_wpuf_edit_link' );
This works nicely. What is missing is a way for users to be able to delete their own posts. Hence my request for a delete button directly on the edit page for user posts, i.e. next to the update button. This should be trivial to implement and would be very useful.