Home › Forums › Front End PM PRO › "You must login to view your message." How to change this › Reply To: "You must login to view your message." How to change this
May 18, 2018 at 2:24 pm
#14310
Shamim Hasan
Keymaster
You can add following code in your theme’s (child theme’s if any) function.php
add_filter( 'fep_main_shortcode_output', function( $out ){
if( ! is_user_logged_in() ){
$out = '<div style="background-color:#000000;color:#ffffff;">Login to see messages.</div>'; //Change this line as you want.
}
return $out;
});