• Resolved wpbeveiligen

    (@wpbeveiligen)


    Hi,

    I am coding an website where users can create posts, and I want a “simple” button in the query foreach /loop where they can click to DELETE the post.

    I did a lot of research, just I can’t get code to work.
    The get_delete_post_link did not work for me.

    Anyone know what simple code would work?

    It should be easy as:

    <a href="Delete this post + ID">Delete this post</a>

    What code does it exactly need to be?

    Thanks in advance

    • This topic was modified 5 years, 10 months ago by wpbeveiligen.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete post from front-end’ is closed to new replies.