Reply To: Find Messages in Query and then Update Meta


Home Forums Front End PM PRO Find Messages in Query and then Update Meta Reply To: Find Messages in Query and then Update Meta

#41869
Shamim Hasan
Keymaster

fep_get_the_id() is a template function which does not return any value outside loop. So using fep_action_message_after_send hook does not give you correct message id.
If you need to use fep_action_message_after_send hook you can use $message_id variable instead of fep_get_the_id()