Reply To: Publish Admin Message Directly


Home Forums Front End PM PRO Publish Admin Message Directly Reply To: Publish Admin Message Directly

#14290
shamim
Keymaster

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

add_filter( 'fep_filter_message_before_send', function( $message ){
    if( fep_is_user_admin() ){
        $message['post_status'] = 'publish';
    }
    return $message;
});