Instance of message box in popup


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

This topic is: Not Resolved
Viewing 16 post (of 16 total)
  • Author
    Posts
  • #25251
    Shamim Hasan
    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 create topic in this support forum.

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