Title: Push By Category
Last modified: September 1, 2016

---

# Push By Category

 *  Resolved [Satish](https://wordpress.org/support/users/technotip/)
 * (@technotip)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/push-by-category/)
 * Is there a way people can subscribe to particular category?
 * [https://wordpress.org/plugins/push-notifications-for-wp/](https://wordpress.org/plugins/push-notifications-for-wp/)

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

 *  Plugin Author [Delite Studio](https://wordpress.org/support/users/delitestudio/)
 * (@delitestudio)
 * [10 years ago](https://wordpress.org/support/topic/push-by-category/#post-7466022)
 * Yep, there’s an API for that. It’s called **Categories API**. You can find more
   info [here](http://www.delitestudio.com/wordpress/push-notifications-for-wordpress/documentation/#categoriesAPIPost).
   Hope it helps!
 *  Thread Starter [Satish](https://wordpress.org/support/users/technotip/)
 * (@technotip)
 * [10 years ago](https://wordpress.org/support/topic/push-by-category/#post-7466061)
 * Hope we should register the user here ..
 *     ```
       register = function(os, token) {
               var baseUrl;
               baseUrl = 'http://example.com/pnfw';
               if (!baseUrl) {
                   return $q.reject();
               }
               return $http({
                   method: 'POST',
                   url: baseUrl + '/register',
                   headers: {
                       'Content-Type': 'application/x-www-form-urlencoded'
                   },
                   transformRequest: function(obj) {
                       var p, str;
                       str = [];
                       for (p in obj) {
                           str.push(encodeURIComponent(p) + '=' + encodeURIComponent(obj[p]));
                       }
                       return str.join('&');
                   },
                   data: {
                       os: os,
                       token: token
                   }
               });
           };
       ```
   
 * token=device_id&os=iOS&id=3&exclude=true
    where to add it? and we need to add
   multiple ids to the URL if the user wants to subscribe to multiple categories?
 *  Plugin Author [Delite Studio](https://wordpress.org/support/users/delitestudio/)
 * (@delitestudio)
 * [10 years ago](https://wordpress.org/support/topic/push-by-category/#post-7466111)
 * Please note that we do not give client-side code level support on the plugin.

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

The topic ‘Push By Category’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/push-notifications-for-wp_373b48.
   svg)
 * [Push Notifications for WordPress (Lite)](https://wordpress.org/plugins/push-notifications-for-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/push-notifications-for-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/push-notifications-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/push-notifications-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/push-notifications-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/push-notifications-for-wp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Delite Studio](https://wordpress.org/support/users/delitestudio/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/push-by-category/#post-7466111)
 * Status: resolved