Reply To: How to edit some information?


Home Forums Front End PM PRO How to edit some information? Reply To: How to edit some information?

#16329
Jacques Feuzeu
Participant

Hi,
I got “Fatal error” on the first line of this code:

add_filter( 'fep_main_shortcode_output', function( $out ) {
if( ! is_user_logged_in() ){
$out = '<div class="fep-error">' . sprintf( __( 'You must login to view/send a message.', 'front-end-pm' ), wp_login_url( get_permalink() ) ) . '</div>';
}
return $out;
});