Title: a function for custom push
Last modified: June 9, 2019

---

# a function for custom push

 *  Resolved [ashf](https://wordpress.org/support/users/ashf/)
 * (@ashf)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/a-function-for-custom-push/)
 * Is there a php function to send custom push notification?

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

 *  Plugin Contributor [Daniel Espinoza](https://wordpress.org/support/users/growdev/)
 * (@growdev)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/a-function-for-custom-push/#post-11623922)
 * Hi [@ashf](https://wordpress.org/support/users/ashf/),
 * You can use the [WC_Pushover::send_notification()](https://github.com/shopplugins/pushover-for-woocommerce/blob/master/classes/class-wc-pushover.php#L543)
   with arguments in an array like this:
 *     ```
       $this->send_notification(array(
       				'title'    => $title,
       				'message' => $message,
       				'url'     => $url
       ));
       ```
   
 * The method is public so you should be able to create an instance of the class
   and call the method.
    -  This reply was modified 6 years, 12 months ago by [Daniel Espinoza](https://wordpress.org/support/users/growdev/).
 *  Thread Starter [ashf](https://wordpress.org/support/users/ashf/)
 * (@ashf)
 * [6 years, 12 months ago](https://wordpress.org/support/topic/a-function-for-custom-push/#post-11623965)
 * That’s great.
    Thank you.

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

The topic ‘a function for custom push’ is closed to new replies.

 * ![](https://ps.w.org/pushover-for-woocommerce/assets/icon-256x256.jpg?rev=1042244)
 * [Pushover Integration for WooCommerce](https://wordpress.org/plugins/pushover-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pushover-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pushover-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/pushover-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pushover-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pushover-for-woocommerce/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ashf](https://wordpress.org/support/users/ashf/)
 * Last activity: [6 years, 12 months ago](https://wordpress.org/support/topic/a-function-for-custom-push/#post-11623965)
 * Status: resolved