• Resolved eveille99

    (@eveille99)


    Hi,

    I would like execute code when message is send. I found “fep_send_message” but i don’t want edit core file.

    How do to edit “fep_send_message” in my functions.php (theme file) ?

    Thanks a lot !

Viewing 1 replies (of 1 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    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( $message_id, $message, $inserted_message ){
        //Use your code here. This will be called after message sent
    }, 10, 3 );
    
Viewing 1 replies (of 1 total)

The topic ‘Edit function fep_send_message’ is closed to new replies.