Add Delete Button on View Message Page? Home › Forums › Front End PM PRO › Add Delete Button on View Message Page? Search for: This topic is: Not Resolved Tagged: delete This topic has 1 reply, 2 voices, and was last updated 2 years, 9 months ago by shamim. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts September 9, 2018 at 5:14 pm #17356 Louie VeleskiParticipant Hi Shamim, I wonder how to add delete button on the view message page? I want user be able to delete the message when they are reading the message (on the view page). Is there any hook / functions that I can use? I noticed that there is fep_delete_message( $id ) inside Fep_Message but I’m not sure how to use it. Thank you! September 10, 2018 at 12:33 am #17360 shamimKeymaster You can add a link like <a href="http://example.com/index.php?your_action=delete&id=1">Delete</a>. Then in init hook use that function to delete that message. Check permission and nonce first if that user have permission to do so. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You need to purchase ‘Front End PM PRO’ to create topic in this support forum. If you already purchased ‘Front End PM PRO’ please LOGIN.