Title: Custom Push notification
Last modified: May 23, 2025

---

# Custom Push notification

 *  [terry9711](https://wordpress.org/support/users/terry9711/)
 * (@terry9711)
 * [1 year ago](https://wordpress.org/support/topic/custom-push-notification/)
 * I’m using the WPMobile.App (wpappninja) plugin to send push notifications from
   my WordPress site to my mobile app users.
   I know the plugin can send notifications
   to all users, for example when a new post is published. But I would like to know
   if it’s possible to send **custom push notifications** to a specific user, or
   a specific group of users, based on certain events or custom triggers.
    - Is there a way to target notifications to individual users or roles (for example,
      only admins, or only a user with a particular ID)?
    - Can I use tags, device tokens, or user meta to send notifications only to 
      the intended recipients?
    - Is there an API, hook, or best practice for sending personalized push notifications
      from PHP code?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Amauri](https://wordpress.org/support/users/amauric/)
 * (@amauric)
 * [1 year ago](https://wordpress.org/support/topic/custom-push-notification/#post-18481372)
 * Hi
 * You can target by email.
 * Use this PHP function:
    wpmobileapp_push($title, $message, $image, $link, ‘all’,”,
   $user_email); $image have to be a link or empty string and will be only displayed
   on the push history on app, not on the notification center of the phone$user_email
   if you want to target a specific user or an empty string

Viewing 1 replies (of 1 total)

The topic ‘Custom Push notification’ is closed to new replies.

 * ![](https://ps.w.org/wpappninja/assets/icon-256x256.png?rev=2215187)
 * [WPMobile.App](https://wordpress.org/plugins/wpappninja/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpappninja/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpappninja/)
 * [Active Topics](https://wordpress.org/support/plugin/wpappninja/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpappninja/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpappninja/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Amauri](https://wordpress.org/support/users/amauric/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/custom-push-notification/#post-18481372)
 * Status: not resolved