• Hi,

    I would like to display the users id in the footer of the message. But not the id of the current logged in user, just the id of the user the current logged in user is chatting with.

    I know I need to use add_action( ‘fep_footer_note’, function(){

    But I’m unsure of the rest.

    Could you assist?

    Thanks.

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

    (@shamim51)

    You can use fep_display_after_parent_message hook and inside that use $participants = fep_get_participants( fep_get_the_id() ); to get all the participants of that message. Now exclude own user id from participants list and store it in any global variable. Now you can use fep_footer_note to show that participants list in footer from that global variable.

Viewing 1 replies (of 1 total)
  • The topic ‘Add user id in footer’ is closed to new replies.