Reply To: Making message read-only


Home Forums Front End PM PRO Making message read-only Reply To: Making message read-only

#10503
shamim
Keymaster

Add following code in your theme’s (child theme’s if any) functions.php


add_filter( 'fep_current_user_can', function( $can, $cap, $id ){
	if( 'send_reply' == $cap && 123 == $id )
	return false;
	
	return $can;
}, 10, 3);

Change 123 with your parent message id