• Resolved Joelthecold

    (@joelthecold)


    I used to use this:

    $fep = new fep_main_class();
    $numNew = $fep->getNewMsgs();

    But now with the updates this gives me a php error, im pretty sure it is outdated. How do i call the new messages functions correctly with the newest update?

    Thanks for a nice plugin.

    https://ww.wp.xz.cn/plugins/front-end-pm/

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

    (@shamim51)

    for new message number only use

    fep_get_new_message_number()

    Following code will output new message number within bracket in red color

    fep_get_new_message_button()

    Thread Starter Joelthecold

    (@joelthecold)

    Thank you Shamim, i see you are very active in responding to questions here frequently, that is much appreciated. Good job!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘New message notification, old code no longer working’ is closed to new replies.