Reply To: Add Delete Button on View Message Page?


Home Forums Front End PM PRO Add Delete Button on View Message Page? Reply To: Add Delete Button on View Message Page?

#17360
Shamim Hasan
Keymaster

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.