Title: Announcement Notification message
Last modified: April 7, 2018

---

# Announcement Notification message

 *  [ayazhan19](https://wordpress.org/support/users/ayazhan19/)
 * (@ayazhan19)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/announcement-notification-message/)
 * 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](https://wordpress.org/support/users/ayazhan19/).

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

 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/announcement-notification-message/#post-10157925)
 * what is `difp_get_new_message_number()` function do?
    What’s wrong in your above
   code?
 *  Thread Starter [ayazhan19](https://wordpress.org/support/users/ayazhan19/)
 * (@ayazhan19)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/announcement-notification-message/#post-10158179)
 * I want to send notification when I send an announcement like code I give
 *  Thread Starter [ayazhan19](https://wordpress.org/support/users/ayazhan19/)
 * (@ayazhan19)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/announcement-notification-message/#post-10198984)
 * ?
 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/announcement-notification-message/#post-10200787)
 * 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](https://wordpress.org/support/users/ayazhan19/)
 * (@ayazhan19)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/announcement-notification-message/#post-10212202)
 * change to announcement code
 *  Plugin Author [Shamim Hasan](https://wordpress.org/support/users/shamim51/)
 * (@shamim51)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/announcement-notification-message/#post-10214716)
 * 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](https://wordpress.org/support/users/ayazhan19/)
 * (@ayazhan19)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/announcement-notification-message/#post-10219992)
 * 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.

 * ![](https://ps.w.org/front-end-pm/assets/icon-256x256.gif?rev=2309447)
 * [Front End PM](https://wordpress.org/plugins/front-end-pm/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/front-end-pm/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/front-end-pm/)
 * [Active Topics](https://wordpress.org/support/plugin/front-end-pm/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/front-end-pm/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/front-end-pm/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [ayazhan19](https://wordpress.org/support/users/ayazhan19/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/announcement-notification-message/#post-10219992)
 * Status: not resolved