Changeset 2384607
- Timestamp:
- 09/18/2020 05:59:03 PM (6 years ago)
- Location:
- powers-triggers-of-woo-to-chat/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
wc-whatsapp-powers.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
powers-triggers-of-woo-to-chat/trunk/readme.txt
r2380710 r2384607 44 44 45 45 == Changelog == 46 * 1.3.1 47 * Pequena correção de bug; 46 48 * 1.3.0 47 49 * Nova integração com Contact Form 7; -
powers-triggers-of-woo-to-chat/trunk/wc-whatsapp-powers.php
r2380710 r2384607 29 29 } 30 30 31 function wwp_is_plugin_active( $plugin ) { 32 return in_array( $plugin, (array) get_option( 'active_plugins', array() ) ); 33 } 34 35 31 36 $args = array( true ); 32 37 if (! wp_next_scheduled ( 'wwp_reminder_action', $args )) { … … 46 51 47 52 add_action('init', function() { 48 if ( is_plugin_active('woocommerce/woocommerce.php')){53 if (wwp_is_plugin_active('woocommerce/woocommerce.php')){ 49 54 include_once('class-wwp-woocommerce-front.php'); 50 55 new Woowhatspowers_Woocommerce_Front(); 51 56 } 52 57 53 if ( is_plugin_active('contact-form-7/wp-contact-form-7.php')){58 if (wwp_is_plugin_active('contact-form-7/wp-contact-form-7.php')){ 54 59 include_once('class-wwp-contactform7-front.php'); 55 60 new Woowhatspowers_Contactform7_Front();
Note: See TracChangeset
for help on using the changeset viewer.