Reply To: fep_shortcode_message_to with field “to” hidden.


Home Forums Front End PM PRO fep_shortcode_message_to with field “to” hidden. Reply To: fep_shortcode_message_to with field “to” hidden.

#26433
shamim
Keymaster

Add following code in your theme’s (child theme’s if you are using) functions.php

add_filter( 'fep_pro_filter_pre_populate', function( $pre_populate ){
	if ( $pre_populate && is_array( $pre_populate ) ) {
		foreach ( $pre_populate as &$value ) {
			$value['readonly'] = true;
		}
	}
	return $pre_populate;
});