Changeset 1800418
- Timestamp:
- 01/10/2018 12:28:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
food-restaurant-order-and-contact-by-whatsapp/trunk/food-order.php
r1799228 r1800418 21 21 new Idnovate_Settings_API_WhatsAppChat(); 22 22 new Idnovate_WhatsAppChat(); 23 24 add_action( 'plugins_loaded', 'foodOrder_load_textdomain' ); 25 function foodOrder_load_textdomain() { 26 if(load_plugin_textdomain( 'food-order', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' )){ 27 28 } 29 } 23 30 24 31 if( strstr($_SERVER['REQUEST_URI'], 'wp-admin/edit.php') && $_GET['post_type'] == 'food_order' ) { … … 90 97 } 91 98 99 92 100 class food_order{ 93 101 … … 111 119 add_shortcode('cardapio',array($this,'cardapio')); 112 120 } 113 121 114 122 public function cardapio($atts){ 115 123
Note: See TracChangeset
for help on using the changeset viewer.