• Resolved Anonymous User 14123315

    (@anonymized-14123315)


    Hi there,

    I’ve tried a few different ways to allow a user to trash/delete their own post from the front-end when I list out their posts, but it seems the nonces never match up and I keep getting a Link Expired page when I click thru

    Is there a tutorial on how to do this properly or is it even possible with stock ACF?

    $delLink = wp_nonce_url(admin_url() . "post.php?post=" . $post->ID . "&action=edit", 'edit' . $post_type . '_' . $post->ID);
    $delLink2 = wp_nonce_url(admin_url() . "post.php?post=" . $post->ID . "&action=trash", 'trash-uploads_' . $post->ID);
    • This topic was modified 4 years, 3 months ago by Anonymous User 14123315.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Possible to delete user created post from the front-end?’ is closed to new replies.