Set one emaik To: section for non admins.


Home Forums Front End PM PRO Set one emaik To: section for non admins.

This topic is: Not Resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #45954
    michael.berger
    Participant

    Hi,

    Can I set to into one default for only of my users currently it ask for the nickame can I set that is there any code integration or shortcode I can use here to auto Set the To nickname?

    #45956
    michael.berger
    Participant

    Why does it take so much time here for the support to reply?

    #45959
    Shamim Hasan
    Keymaster
    #45961
    michael.berger
    Participant

    Can I do the same for group? I need multiple users on the conversation but the To should be disabled.

    #45962
    Shamim Hasan
    Keymaster

    For groups, all users need to be added to that group. And they may see other users message which is not sent to them.
    Better add other users to that conversation so that they can see only that conversation.

    Eg. You can add following code in your theme’s (child theme’s if any) functions.php, change $your_extra_user_ids values

    add_filter('fep_filter_message_before_send', function( $message ){
        $your_extra_user_ids = array( 1,2,3 );
    
        //Only for parent message
        if( empty( $message['fep_parent_id'] ) ){
            if( ! is_array( $message['message_to_id'] ) ){
                $message['message_to_id'] = array( $message['message_to_id'] );
            }
            $message['message_to_id'] = array_merge( $message['message_to_id'], $your_extra_user_ids );
        }
        return $message;
    });
    
Viewing 5 posts - 1 through 5 (of 5 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.