Home › Forums › Front End PM PRO › fep_shortcode_message_to with field “to” hidden. › Reply To: fep_shortcode_message_to with field “to” hidden.
July 2, 2019 at 1:55 pm
#26433
Shamim Hasan
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;
});