Home › Forums › Front End PM PRO › Maintain Messages in Database after user deletion › Reply To: Maintain Messages in Database after user deletion
November 11, 2020 at 4:14 pm
#41708
Shamim Hasan
Keymaster
So as i understand delete do not do anything in your use case. You can remove delete option so that nobody can delete a message.
Please add following code in your theme’s (child theme’s if you are using) functions.php
add_filter( 'fep_message_table_bulk_actions', function( $actions ){
unset( $actions['delete'] );
return $actions;
});
Let me know if this helps.