Title: Adding sms support
Last modified: August 21, 2016

---

# Adding sms support

 *  Resolved [gojkob](https://wordpress.org/support/users/gojkob/)
 * (@gojkob)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-sms-support/)
 * Which file and function i need to edit for sending SMS when buyer click send 
   order? I have custom code for SMS sending, but there is a lot of files and i 
   cant find piece of code for submiting.
    SMS function is only for notification
   employees because they doesn’t always see email [https://wordpress.org/plugins/wppizza/](https://wordpress.org/plugins/wppizza/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [ollybach](https://wordpress.org/support/users/ollybach/)
 * (@ollybach)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/adding-sms-support/#post-4839427)
 * Hi,
 * you probably want to use the following hook in your themes function.php instead
   of editing the files directly.
    i.e
 *     ```
       add_action( 'wppizza_on_order_executed', 'my_function',null, 2 );
       function my_function($orderId, $orderTable) {
       /*do your stuff*/
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Adding sms support’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [ollybach](https://wordpress.org/support/users/ollybach/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/adding-sms-support/#post-4839427)
 * Status: resolved