Instance of message box in popup


Home Forums Front End PM PRO Instance of message box in popup

This topic is: Not Resolved

This topic contains 15 replies, has 2 voices, and was last updated by  shamim 2 weeks, 6 days ago.

Viewing 16 post (of 16 total)
  • Author
    Posts
  • #25251

    shamim
    Keymaster

    you can add following code in your theme’s (child theme’s if you are using) functions.php

    add_action( 'fep_action_message_after_send', function( $mgs_id ){
        $admins = array( 1 );  //your admin ID
        if( isset( $_POST['fep_action'] ) && 'shortcode-newmessage' == $_POST['fep_action'] ){
            FEP_Participants::init()->insert( $mgs_id, $admins );
        }
    });
    

    Change 1 with your admin id

Viewing 16 post (of 16 total)

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

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