• Hi, I need code that can display declarations I send in this code-like header

    difp_get_new_message_number()

    it will be like this code

    <li id="menu-item-2335" class="menu-item menu-item-type-post_type menu-item-object-page no-mega-menu"><a class="menu-item-link" href="https://ticoal.com/uye-paneli/?alsp_action=messages"><img src="https://ticoal.com/wp-content/uploads/2018/04/chat-1.svg" class="_mi _before _svg" style="width:1.5em" /><span>'.sprintf( esc_html__('Mesajlar (%s)', 'classiadspro'), difp_get_new_message_number() ).'</span></a></li>

    • This topic was modified 8 years, 2 months ago by ayazhan19.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Shamim Hasan

    (@shamim51)

    what is difp_get_new_message_number() function do?
    What’s wrong in your above code?

    Thread Starter ayazhan19

    (@ayazhan19)

    I want to send notification when I send an announcement like code I give

    Thread Starter ayazhan19

    (@ayazhan19)

    ?

    Plugin Author Shamim Hasan

    (@shamim51)

    I did not received my last questions answered.

    what is difp_get_new_message_number() function do?
    What’s wrong in your above code?

    Thread Starter ayazhan19

    (@ayazhan19)

    change to announcement code

    Plugin Author Shamim Hasan

    (@shamim51)

    Your code is totally custom code, I do not even know some of that functions and what they do. Also i do not know what is custom action for your announcement (as i see you are using custom action for message), So how will i change this code to announcement code?

    Thread Starter ayazhan19

    (@ayazhan19)

    notice is not more than an announcement difp_get_new_announcement_number()

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

The topic ‘Announcement Notification message’ is closed to new replies.