Plugin Directory

Changeset 2499073


Ignore:
Timestamp:
03/19/2021 01:05:34 AM (5 years ago)
Author:
felipe152
Message:
  • 1.6.0
  • Nova integração ! Crie ações com qualquer evento do plugin Autonami Marketing Automations Connectors;
Location:
powers-triggers-of-woo-to-chat/trunk
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • powers-triggers-of-woo-to-chat/trunk/admin/class-wwp-admin.php

    r2486190 r2499073  
    4949        if (wwp_is_plugin_active('jet-engine/jet-engine.php')){
    5050            $subMenus[] = array('woowhatspowers-jet-booking','Jet Engine Template',array( $this, 'wwp_view_jetbooking' ),20);
     51        }
     52
     53        //Woofunnels
     54        if (wwp_is_plugin_active('wp-marketing-automations-connectors/wp-marketing-automations-connectors.php')){
     55            $subMenus[] = array('woowhatspowers-woofunnels','Woofunnels Template',array( $this, 'wwp_view_woofunnels' ),20);
    5156        }
    5257
     
    210215    }
    211216
     217    /*Woofunnels*/
     218    function wwp_view_woofunnels (){
     219        wp_enqueue_script(  'wwp-admin-script', plugin_dir_url( __FILE__ ) . 'js/script.js', array('jquery'), rand(0,1000), true );
     220        wp_enqueue_style( 'wwp-admin-style', plugin_dir_url( __FILE__ ) . 'css/style.css', '', rand(0,1000), false );
     221        wp_enqueue_script( 'jquery-ui-accordion' );
     222        wp_enqueue_style( 'jquery-ui-style' );
     223        require_once plugin_dir_path(dirname(__FILE__)).'include/class-wwp-woofunnels.php';
     224        $j = new Woowhatspowers_Woofunnels();
     225
     226        if (isset($_POST) ) {
     227            if (!$j->wpp_saveAcoes($_POST) === false) {
     228                pac_admin_notices('Ações salvas com sucesso!');
     229            }
     230        }
     231        $acoes = $j->wpp_getAcoes();
     232        require_once plugin_dir_path(dirname(__FILE__)).'admin/views/wwp-woofunnels.php';
     233    }
     234
     235
     236
     237
    212238    /* Campanhas */
    213239    function wwp_view_woocommerce_campanha () {
  • powers-triggers-of-woo-to-chat/trunk/readme.txt

    r2496199 r2499073  
    5454
    5555== Changelog ==
    56 * 1.5.8
    57 * Integração com plugins InCuca Tech - Pix for WooCommerce e Advanced Shipment Tracking for WooCommerce;
     56* 1.6.0 
     57* Nova integração ! Crie ações com qualquer evento do plugin Autonami Marketing Automations Connectors;
    5858* 1.5.2
    5959* Nova função da integração do CartBounty, envie mensagens automaticamente;
  • powers-triggers-of-woo-to-chat/trunk/wc-whatsapp-powers.php

    r2496199 r2499073  
    44 * Plugin URI:  https://wordpress.org/plugins/powers-triggers-of-woo-to-chat/
    55 * Description: Automatiza envio de mensagens Whatsapp.
    6  * Version:     1.5.8
     6 * Version:     1.6.0
    77 * Author:      Felipe Peixoto
    88 * Author URI:  http://felipepeixoto.tecnologia.ws/projetos/plugins-para-wordpress/notificacoes-de-pedidos-por-whatsapp/
     
    168168       
    169169    }
     170
     171    //Woofunnels ss
     172    if (wwp_is_plugin_active('wp-marketing-automations-connectors/wp-marketing-automations-connectors.php')){
     173        if (!class_exists('Woowhatspowers_woofunnels_Front')) {
     174            global $wwp_db_path;
     175            require_once($wwp_db_path . 'class-wwp-woofunnels-front.php');
     176        }
     177        $j = new Woowhatspowers_woofunnels_Front();
     178        $j->setActions();
     179       
     180    }
    170181    if (isset($_GET['remind-test'])) {
    171182        do_action( 'wwp_reminder_action' );
Note: See TracChangeset for help on using the changeset viewer.