Plugin Directory

Changeset 2932855


Ignore:
Timestamp:
07/01/2023 08:49:02 AM (3 years ago)
Author:
querysolutions
Message:

V2.9.0

Location:
wpcf7-redirect/tags/2.9.0
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • wpcf7-redirect/tags/2.9.0/build/js/wpcf7-redirect-backend-script.js

    r2865253 r2932855  
    444444            //reset all plugin settings
    445445            $(document.body).on('click', this.reset_all_button, this.reset_all_settings.bind(this));
    446             //show pro banner
    447             $(document.body).on('click', this.tab_actions_selector, this.show_pro_banner.bind(this));
    448             //submit pro banner ajax request
    449             $(document.body).on('click', this.pro_banner_submit_btn_selector, this.ajax_get_coupon.bind(this));
    450             //submit pro banner get a coupon request when clicking enter key
    451             $(document.body).on('keyup', this.pro_banner_user_email_selector, this.pro_banner_user_email_keyup.bind(this));
     446           
    452447            //pro banner close
    453448            $(document.body).on('click', this.pro_banner_close_selector, this.pro_banner_close.bind(this));
     
    11881183                }
    11891184            });
    1190         }
    1191 
    1192         /**
    1193          * Show PRO Banner
    1194          */
    1195         this.show_pro_banner = function (e) {
    1196             window.setTimeout(function () {
    1197                 $('.rp-overlay').addClass('active');
    1198             }, 500);
    1199         }
    1200 
    1201         /**
    1202          * Send pro banner ajax request when clicking 'enter' key
    1203          */
    1204         this.pro_banner_user_email_keyup = function (e) {
    1205             e.stopPropagation();
    1206             if (e.key === 'Enter' || e.keyCode === 13) {
    1207                 e.preventDefault();
    1208                 this.ajax_get_coupon();
    1209             }
    1210         }
    1211 
    1212         /**
    1213          * PRO Banner ajax request - get a coupon request
    1214          */
    1215         this.ajax_get_coupon = function (e) {
    1216             $('.rp-form-message').html('<span class="rp-loader-wrap"><span class="rp-loader"></span></span>');
    1217             var get_offers = $('[name="rp_get_offers"]').prop("checked") == true ? '1' : '0';
    1218             $.ajax({
    1219                 type: 'POST',
    1220                 dataType: 'json',
    1221                 url: ajaxurl,
    1222                 data: {
    1223                     action: 'get_coupon',
    1224                     wpcf7r_nonce: wpcf_get_nonce(),
    1225                     data: {
    1226                         email: $('[name="rp_user_email"]').val(),
    1227                         get_offers: get_offers
    1228                     }
    1229                 },
    1230                 success: function (results) {
    1231                     if (!results.url) {
    1232                         $('.rp-form-message').html('<span class="rp-form-message-text ' + results.status + '">' + results.message + '</span>');
    1233                     } else {
    1234                         location.href = results.url;
    1235                     }
    1236                 }
    1237             });
    1238         }
    1239         /**
    1240          * Close pro banner
    1241          */
    1242         this.pro_banner_close = function (e) {
    1243             e.preventDefault();
    1244             sign = window.location.href.indexOf("?") > -1 ? '&' : '?';
    1245             location.href = window.location.href + sign + 'wpcf7_redirect_dismiss_banner=1';
    12461185        }
    12471186        this.init();
  • wpcf7-redirect/tags/2.9.0/class-wpcf7-redirect.php

    r2865253 r2932855  
    11<?php
    22/**
    3  * Main Contact Form 7 Redirect Class
     3 * The admin-specific functionality of the plugin.
     4 *
     5 * @link       https://redirection-for-contact-form7.com/
     6 * @since      1.0.0
     7 *
     8 * @package    Wpcf7_Redirect
     9 * @subpackage Wpcf7_Redirect
     10 */
     11
     12/**
     13 * The admin-specific functionality of the plugin.
     14 *
     15 * Defines the plugin name, version, and two examples hooks for how to
     16 * enqueue the admin-specific stylesheet and JavaScript.
     17 *
     18 * @package    Wpcf7_Redirect
     19 * @subpackage Wpcf7_Redirect
     20 * @author     Lior Regev <regevlio@gmail.com>
    421 */
    522class Wpcf7_Redirect {
     23
     24    /**
     25     * Instance of the main plugin class object.
     26     *
     27     * @var [object]
     28     */
     29    public $cf7_redirect_base;
     30
     31    /**
     32     * Constructor
     33     */
    634    public function init() {
    735        $this->define();
     
    1644     */
    1745    public function load_dependencies() {
    18         // Load all actions
     46        // Load all actions.
    1947        foreach ( glob( WPCF7_PRO_REDIRECT_BASE_PATH . 'modules/*.php' ) as $filename ) {
    20             require_once( $filename );
     48            require_once $filename;
    2149        }
    22         require_once( WPCF7_PRO_REDIRECT_CLASSES_PATH . 'class-wpcf7r-base.php' );
     50        require_once WPCF7_PRO_REDIRECT_CLASSES_PATH . 'class-wpcf7r-base.php';
    2351    }
    2452
     
    2856    public function notice_to_remove_old_plugin() {
    2957        if ( ! function_exists( 'is_plugin_active' ) ) {
    30             include_once( ABSPATH . 'wp-admin/includes/plugin.php' );
     58            include_once ABSPATH . 'wp-admin/includes/plugin.php';
    3159        }
    3260        if ( is_plugin_active( 'cf7-to-api/cf7-to-api.php' ) ) {
     
    5785        define( 'WPCF7_PRO_REDIRECT_BASE_PATH', plugin_dir_path( __FILE__ ) );
    5886        define( 'WPCF7_PRO_REDIRECT_BASE_URL', plugin_dir_url( __FILE__ ) );
    59         define( 'WPCF7_PRO_REDIRECT_PLUGINS_PATH', plugin_dir_path( dirname( __FILE__ ) ) );
     87        define( 'WPCF7_PRO_REDIRECT_PLUGINS_PATH', plugin_dir_path( __DIR__ ) );
    6088        define( 'WPCF7_PRO_REDIRECT_TEMPLATE_PATH', WPCF7_PRO_REDIRECT_BASE_PATH . 'templates/' );
    6189        define( 'WPCF7_PRO_REDIRECT_ACTIONS_TEMPLATE_PATH', WPCF7_PRO_REDIRECT_CLASSES_PATH . 'actions/html/' );
  • wpcf7-redirect/tags/2.9.0/classes/class-wpcf7r-form-helper.php

    r2865253 r2932855  
    1212 */
    1313class WPCF7r_Form_Helper {
     14
     15    /**
     16     * The plugin url.
     17     *
     18     * @var string
     19     */
     20    public $plugin_url = '';
     21
     22    /**
     23     * The plugin assets js lib url.
     24     *
     25     * @var string
     26     */
     27    public $assets_js_lib = '';
     28
     29    /**
     30     * The plugin assets js url.
     31     *
     32     * @var string
     33     */
     34    public $assets_js_url = '';
     35
     36    /**
     37     * The plugin assets css url.
     38     *
     39     * @var string
     40     */
     41    public $assets_css_url = '';
     42
     43    /**
     44     * The plugin build js url.
     45     *
     46     * @var string
     47     */
     48    public $build_js_url = '';
     49
     50    /**
     51     * The plugin build css url.
     52     *
     53     * @var string
     54     */
     55    public $build_css_url = '';
     56
     57    /**
     58     * The plugin extensions.
     59     *
     60     * @var string
     61     */
     62    public $extensions = '';
    1463
    1564    /**
     
    2574        $this->build_css_url  = WPCF7_PRO_REDIRECT_BASE_URL . 'build/css/';
    2675        $this->extensions     = wpcf7_get_extensions();
     76
    2777        $this->add_actions();
    28 
    2978    }
    3079
     
    3382     */
    3483    private function add_actions() {
    35 
    36         global $pagenow;
    37 
    3884        add_action( 'plugins_loaded', array( $this, 'load_textdomain' ) );
    3985        add_action( 'wpcf7_editor_panels', array( $this, 'add_panel' ) );
     
    4389        // add contact form scripts for admin panel.
    4490        add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_backend' ) );
    45         add_action( 'wp_ajax_activate_wpcf7r_extension', array( $this, 'activate_extension' ) );
    46         add_action( 'wp_ajax_deactivate_wpcf7r_extension', array( $this, 'deactivate_plugin_license' ) );
    47         add_action( 'wp_ajax_get_coupon', array( $this, 'get_coupon' ) );
    48         add_action( 'wpcf7_admin_notices', array( $this, 'render_discount_banner' ), 15, 3 );
    49         add_action( 'admin_init', array( $this, 'dismiss_ads' ) );
    5091    }
    5192
     
    61102
    62103        return $extention_object;
    63 
    64     }
    65 
    66     /**
    67      * Deactivate plugin license.
    68      *
    69      * @return void
    70      */
    71     public function deactivate_plugin_license() {
    72 
    73         $results = array();
    74 
    75         if ( current_user_can( 'wpcf7_edit_contact_form' ) && wpcf7_validate_nonce() ) {
    76             if ( ! isset( $_POST['extension_name'] ) ) {
    77 
    78                 $results = array(
    79                     'message' => __( 'Missing name or serial', 'wpcf7-redirect' ),
    80                 );
    81 
    82             } else {
    83 
    84                 $extentsion_settings = $this->extensions[ $_POST['extension_name'] ];
    85 
    86                 if ( $extentsion_settings ) {
    87                     $extentsion = new WPCF7R_Extension( $extentsion_settings );
    88                     $results    = $extentsion->deactivate_license();
    89                 }
    90             }
    91         }
    92 
    93         wp_send_json( $results );
    94 
    95     }
    96 
    97     /**
    98      * Activate extension license.
    99      *
    100      * @return void
    101      */
    102     public function activate_extension() {
    103         if ( current_user_can( 'wpcf7_edit_contact_form' ) && wpcf7_validate_nonce() ) {
    104             if ( ! isset( $_POST['extension_name'] ) || ! isset( $_POST['serial'] ) ) {
    105                 $results = array(
    106                     'message' => __( 'Missing name or serial', 'wpcf7-redirect' ),
    107                 );
    108             } else {
    109 
    110                 $extentsion_settings = $this->extensions[ $_POST['extension_name'] ];
    111 
    112                 if ( $extentsion_settings ) {
    113                     $extentsion = new WPCF7R_extension( $extentsion_settings );
    114                     $serial     = sanitize_text_field( $_POST['serial'] );
    115                     $results    = $extentsion->activate( $serial );
    116                 } else {
    117                     $results['extension_html'] = __( 'Somthing went wrong', 'wpcf7-redirect' );
    118                 }
    119             }
    120 
    121             wp_send_json( $results );
    122         }
    123     }
    124 
    125     /**
    126      * Dismiss plugin ads
    127      */
    128     public function dismiss_ads() {
    129 
    130         if ( isset( $_GET['wpcf7_redirect_dismiss_banner'] ) && '1' === $_GET['wpcf7_redirect_dismiss_banner'] ) {
    131             $banner_version = wpcf7r_get_banner_version() ? wpcf7r_get_banner_version() : 1;
    132 
    133             update_option( 'wpcf7_redirect_dismiss_banner', $banner_version );
    134         }
    135 
    136     }
     104    }
     105
    137106
    138107    /**
     
    141110    public function front_end_scripts() {
    142111
    143         wp_register_style( 'wpcf7-redirect-script-frontend', $this->build_css_url . 'wpcf7-redirect-frontend.min.css', '1.1' );
     112        wp_register_style( 'wpcf7-redirect-script-frontend', $this->build_css_url . 'wpcf7-redirect-frontend.min.css', array(), '1.1' );
    144113        wp_enqueue_style( 'wpcf7-redirect-script-frontend' );
     114
    145115        wp_register_script( 'wpcf7-redirect-script', $this->build_js_url . 'wpcf7r-fe.js', array( 'jquery' ), '1.1', true );
    146116        wp_enqueue_script( 'wpcf7-redirect-script' );
     
    156126        }
    157127
    158                             // add support for other plugins
     128        // Add support for other plugins.
    159129        do_action( 'wpcf7_redirect_enqueue_frontend', $this );
    160130    }
     
    187157     */
    188158    public function load_textdomain() {
    189         load_plugin_textdomain( 'wpcf7-redirect', false, basename( dirname( __FILE__ ) ) . '/lang' );
     159        load_plugin_textdomain( 'wpcf7-redirect', false, basename( __DIR__ ) . '/lang' );
    190160    }
    191161
     
    276246
    277247    /**
    278      * Handler to retrive banner to display
    279      * At the moment used to display the pro version bannner
    280      */
    281     public function banner() {
    282         $banner_manager = new Banner_Manager();
    283         $banner_manager->show_banner();
    284     }
    285 
    286     /**
    287248     * Create the panel inputs.
    288249     *
     
    297258
    298259    /**
    299      * Manage contact form 7 redirection pro extensions
    300      *
    301      * @param object $cf7 - Contact form 7 post object.
    302      */
    303     public function extensions_manager( $cf7 ) {
    304 
    305         $this->extensions_manager = $this->get_extension_manager();
    306         $this->extensions_manager->init();
    307 
    308     }
    309 
    310     /**
    311      * Get extension manager instance
    312      *
    313      * @return object - extensions manager object.
    314      */
    315     public function get_extension_manager() {
    316         return isset( $this->extensions_manager ) ? $this->extensions_manager : new WPCF7R_Extensions();
    317     }
    318 
    319     /**
    320      * Display debug tab on contact form
    321      *
    322      * @param $cf7 - Contact form 7 post object.
     260     * Display debug tab on contact form.
     261     *
     262     * @param [type] $cf7 - contact form 7 post object.
    323263     * @return void
    324264     */
    325265    public function wpcf7_debug( $cf7 ) {
    326 
    327         global $wp_version;
    328 
    329266        $form_json = self::get_debug_data( $cf7->id() );
    330267
    331         echo '<h3>' . __( 'Debug Information', 'wpcf7-redirect' ) . '</h3>';
    332         echo '<div>' . __( 'The debug information includes the following details', 'wpcf7-redirect' ) . '</div><ul>';
    333         echo '<li>' . __( 'Form post data.', 'wpcf7-redirect' ) . '</li>';
    334         echo '<li>' . __( 'Actions post data.', 'wpcf7-redirect' ) . '</li>';
    335         echo '<li>' . __( 'PHP Version', 'wpcf7-redirect' ) . '</li>';
    336         echo '<li>' . __( 'Installed plugins list', 'wpcf7-redirect' ) . '</li>';
    337         echo '<li>' . __( 'WordPress Version', 'wpcf7-redirect' ) . '</li>';
    338         echo '</ul>';
    339         echo '<div style="color:red;font-size:18px;margin-bottom:20px;">' . __( 'The data is used for debug purposes only!', 'wpcf7-redirect' ) . '</div>';
    340         echo "<div><textarea style='width:100%;height:200px;margin-bottom:40px;font-size:11px'>{$form_json}</textarea><br/></div>";
    341         echo '<input type="submit" class="button button-primary send-debug-info" value="Send Debug Report"/><br/><br/>';
    342         echo '<label><input type="checkbox" class="approve-debug" /> I approve sending debug information to Query Solutions support team.</label>';
    343 
    344     }
    345 
    346     /**
    347      * Get encoded debug data
    348      *
    349      * @param $form_id - contact form 7 ID.
    350      * @return void
     268        $output = '<h3>' . __( 'Debug Information', 'wpcf7-redirect' ) . '</h3>';
     269        $output = '<div>' . __( 'The debug information includes the following details', 'wpcf7-redirect' ) . '</div><ul>';
     270        $output = '<li>' . __( 'Form post data.', 'wpcf7-redirect' ) . '</li>';
     271        $output = '<li>' . __( 'Actions post data.', 'wpcf7-redirect' ) . '</li>';
     272        $output = '<li>' . __( 'PHP Version', 'wpcf7-redirect' ) . '</li>';
     273        $output = '<li>' . __( 'Installed plugins list', 'wpcf7-redirect' ) . '</li>';
     274        $output = '<li>' . __( 'WordPress Version', 'wpcf7-redirect' ) . '</li>';
     275        $output = '</ul>';
     276        $output = '<div style="color:red;font-size:18px;margin-bottom:20px;">' . __( 'The data is used for debug purposes only!', 'wpcf7-redirect' ) . '</div>';
     277        $output = "<div><textarea style='width:100%;height:200px;margin-bottom:40px;font-size:11px'>{$form_json}</textarea><br/></div>";
     278        $output = '<input type="submit" class="button button-primary send-debug-info" value="Send Debug Report"/><br/><br/>';
     279        $output = '<label><input type="checkbox" class="approve-debug" /> I approve sending debug information to Query Solutions support team.</label>';
     280
     281        echo esc_html( $output );
     282    }
     283
     284    /**
     285     * Get encoded debug data.
     286     *
     287     * @param [string] $form_id - the id of the contact form 7 post.
     288     * @return [json_object] - the encoded debug data.
    351289     */
    352290    public static function get_debug_data( $form_id ) {
     
    373311
    374312    /**
    375      * Render discount banner
    376      *
    377      * @param [object] $page - the current page.
    378      * @param [object] $action - the required action.
    379      * @param [object] $object - contact form 7 object.
    380      */
    381     public function render_discount_banner( $page, $action, $object ) {
    382 
    383         if ( 'edit' === $action ) {
    384             $banner_version_dismissed = get_option( 'wpcf7_redirect_dismiss_banner' );
    385             $banner                   = wpcf7r_get_discount_banner();
    386 
    387             if ( $banner ) {
    388                 update_option( 'wpcf7r_banner_version', $banner->version );
    389 
    390                 if ( ! $banner_version_dismissed && wpcf7r_get_banner_version() !== $banner_version_dismissed ) {
    391                     echo $banner->banner;
    392                 }
    393             }
    394         }
    395     }
    396 
    397     /**
    398313     * Returns an html for displaying a link to the form.
    399314     *
     
    413328    }
    414329
    415     /**
    416      * Get coupon ajax function
    417      */
    418     public function get_coupon() {
    419         $results = array();
    420 
    421         if ( current_user_can( 'wpcf7_edit_contact_form' ) && wpcf7_validate_nonce() ) {
    422             $data = $_POST['data'];
    423 
    424             $email = isset( $data['email'] ) && is_email( $data['email'] ) ? $data['email'] : false;
    425 
    426             if ( ! $email ) {
    427                 $results = array(
    428                     'status'  => 'rp-error',
    429                     'message' => 'Please enter a valid email.',
    430                 );
    431 
    432                 wp_send_json( $results );
    433             } else {
    434                 $ip     = $_SERVER['REMOTE_ADDR'];
    435                 $url    = home_url();
    436                 $accept = sanitize_text_field( $data['get_offers'] );
    437                 $params = array(
    438                     'ip_address' => $ip,
    439                     'accept'     => $accept,
    440                     'email'      => $email,
    441                     'url'        => $url,
    442                 );
    443 
    444                 $params = http_build_query( $params );
    445 
    446                 $endpoint = WPCF7_PRO_REDIRECT_PLUGIN_PAGE_URL . "wp-json/api-v1/get-coupon?{$params}";
    447 
    448                 $response = wp_remote_post( $endpoint );
    449 
    450                 $body = json_decode( wp_remote_retrieve_body( $response ), true );
    451 
    452                 if ( isset( $body['message'] ) ) {
    453                     $results = array(
    454                         'status'  => 'rp-success',
    455                         'message' => $body['message'],
    456                     );
    457                 } elseif ( isset( $body['redirect'] ) ) {
    458                     $results = array(
    459                         'status' => 'rp-success',
    460                         'url'    => $body['redirect'],
    461                     );
    462                 }
    463             }
    464         }
    465 
    466         wp_send_json( $results );
    467     }
    468330}
  • wpcf7-redirect/tags/2.9.0/classes/class-wpcf7r-form.php

    r2865253 r2932855  
    247247        } else {
    248248            self::$mail_tags  = $this->get_cf7_fields();
    249             $fields           = $this->get_fields_values();
    250             $redirect_type    = isset( $fields['redirect_type'] ) && $fields['redirect_type'] ? $fields['redirect_type'] : '';
    251             $active_tab_title = 'active';
    252             $active_tab       = 'active';
     249
    253250            $this->html       = new WPCF7R_html( self::$mail_tags );
    254251            include WPCF7_PRO_REDIRECT_TEMPLATE_PATH . 'settings.php';
  • wpcf7-redirect/tags/2.9.0/templates/fields/field-debug-log.php

    r2865253 r2932855  
    11<?php
    22/**
    3  * Render debug log by requested fields
     3 * Render debug log by requested fields.
     4 *
     5 * @package wpcf7-redirect
     6 * @since 1.0.0
     7 * @version 1.0.0
    48 */
    59
     
    711?>
    812
    9 <div class="field-wrap field-wrap-<?php echo $field['name']; ?> <?php echo isset( $field['class'] ) ? $field['class'] : ''; ?>">
     13<div class="field-wrap field-wrap-<?php echo esc_attr( $field['name'] ); ?> <?php echo isset( $field['class'] ) ? esc_attr( $field['class'] ) : ''; ?>">
    1014    <div class="debug-log-wrap">
    1115        <?php foreach ( $field['fields'] as $debug_field_name => $debug_field_value ) : ?>
    1216            <div class="debug_log">
    13                 <h4><?php echo $debug_field_name; ?>:</h4>
     17                <h4><?php echo esc_attr( $debug_field_name ); ?>:</h4>
    1418                <textarea rows="10">
    1519                <?php
    16                     $debug_field_value = maybe_unserialize( $debug_field_value );
     20
     21                $debug_field_value = unserialize( $debug_field_value );
    1722
    1823                if ( is_array( $debug_field_value ) || is_object( $debug_field_value ) ) {
    1924                    print_r( $debug_field_value );
    2025                } else {
    21                     echo trim( esc_attr( $debug_field_value ) );
     26                    echo esc_attr( $debug_field_value );
    2227                }
    2328                ?>
  • wpcf7-redirect/tags/2.9.0/wpcf7r-functions.php

    r2865253 r2932855  
    4040    $nonce = isset( $_REQUEST['wpcf7r_nonce'] ) && $_REQUEST['wpcf7r_nonce'] ? $_REQUEST['wpcf7r_nonce'] : '';
    4141
    42     $verified = wp_verify_nonce(  $nonce  , 'manage_cf7_redirect');
     42    $verified = wp_verify_nonce( $nonce, 'manage_cf7_redirect' );
    4343
    4444    if ( $verified ) {
     
    4848    header( 'HTTP/1.0 403 Forbidden' );
    4949    die( 'You are not allowed to access.' );
    50 
    5150}
    5251
     
    5857function wpcf7_redirect_get_all_extensions_list() {
    5958    $defaults = array(
    60         'wpcf7r-conditional-logic' => array(
     59        'wpcf7r-conditional-logic'    => array(
    6160            'name'        => 'wpcf7r-conditional-logic',
    6261            'filename'    => 'class-wpcf7r-conditions.php',
     
    6665            'classname'   => 'WPCF7_Redirect_Conditional_Logic',
    6766        ),
    68         'wpcf7r-create-pdf'        => array(
     67        'wpcf7r-create-pdf'           => array(
    6968            'name'        => 'wpcf7r-create-pdf',
    7069            'filename'    => 'class-wpcf7r-create-pdf',
     
    7473            'classname'   => 'WPCF7R_Action_Create_pdf',
    7574        ),
    76         'wpcf7r-paypal'            => array(
     75        'wpcf7r-paypal'               => array(
    7776            'name'        => 'wpcf7r-paypal',
    7877            'filename'    => 'class-wpcf7r-action-paypal.php',
     
    8281            'classname'   => 'WPCF7R_Action_redirect_to_paypal',
    8382        ),
    84         'wpcf7r-stripe'            => array(
     83        'wpcf7r-stripe'               => array(
    8584            'name'        => 'wpcf7r-stripe',
    8685            'filename'    => 'class-wpcf7r-stripe.php',
     
    9089            'classname'   => 'WPCF7R_Action_Stripe_Integration',
    9190        ),
    92         'wpcf7r-api'               => array(
     91        'wpcf7r-api'                  => array(
    9392            'name'        => 'wpcf7r-api',
    9493            'filename'    => 'class-wpcf7r-action-api-url.php',
     
    9897            'classname'   => 'WPCF7R_Action_api_url_request',
    9998        ),
    100         'wpcf7r-custom-errors'     => array(
     99        'wpcf7r-custom-errors'        => array(
    101100            'name'        => 'wpcf7r-custom-errors',
    102101            'filename'    => 'class-wpcf7r-action-custom-errors.php',
     
    106105            'classname'   => 'WPCF7R_Action_custom_errors',
    107106        ),
    108         'wpcf7r-popup'             => array(
     107        'wpcf7r-popup'                => array(
    109108            'name'        => 'wpcf7r-popup',
    110109            'filename'    => 'class-wpcf7r-action-popup.php',
     
    114113            'classname'   => 'WPCF7R_Action_Popup',
    115114        ),
    116         'wpcf7r-create-post'       => array(
     115        'wpcf7r-create-post'          => array(
    117116            'name'        => 'wpcf7r-create-post',
    118117            'filename'    => 'class-wpcf7r-action-create-post.php',
     
    122121            'classname'   => 'WPCF7R_Action_Create_Post',
    123122        ),
    124         'wpcf7r-login'             => array(
     123        'wpcf7r-login'                => array(
    125124            'name'        => 'wpcf7r-login',
    126125            'filename'    => 'class-wpcf7r-action-login.php',
     
    130129            'classname'   => 'WPCF7R_Action_login',
    131130        ),
    132         'wpcf7r-register'          => array(
     131        'wpcf7r-register'             => array(
    133132            'name'        => 'wpcf7r-register',
    134133            'filename'    => 'class-wpcf7r-action-register.php',
     
    138137            'classname'   => 'WPCF7R_Action_Register',
    139138        ),
    140         'wpcf7r-mailchimp'         => array(
     139        'wpcf7r-mailchimp'            => array(
    141140            'name'        => 'wpcf7r-mailchimp',
    142141            'filename'    => 'class-wpcf7r-action-mailchimp.php',
     
    146145            'classname'   => 'WPCF7R_Action_Mailchimp',
    147146        ),
    148         'wpcf7r-salesforce'        => array(
     147        'wpcf7r-salesforce'           => array(
    149148            'name'        => 'wpcf7r-salesforce',
    150149            'filename'    => 'class-wpcf7r-action-salesforce.php',
     
    154153            'classname'   => 'WPCF7R_Action_Salesforce',
    155154        ),
    156         'wpcf7r-hubspot'           => array(
     155        'wpcf7r-hubspot'              => array(
    157156            'name'        => 'wpcf7r-hubspot',
    158157            'filename'    => 'class-wpcf7r-action-hubspot.php',
     
    162161            'classname'   => 'WPCF7R_Action_Hubspot',
    163162        ),
    164         'wpcf7r-twilio'            => array(
     163        'wpcf7r-monday'               => array(
     164            'name'        => 'wpcf7r-monday',
     165            'filename'    => 'class-wpcf7r-action-monday.php',
     166            'title'       => __( 'Monday Integration', 'wpcf7-redirect' ),
     167            'description' => __( 'Send your leads to monday.', 'wpcf7-redirect' ),
     168            'icon'        => '',
     169            'classname'   => 'WPCF7R_Action_Monday',
     170        ),
     171        'wpcf7r-twilio'               => array(
    165172            'name'        => 'wpcf7r-twillio',
    166173            'filename'    => 'class-wpcf7r-action-twilio.php',
     
    170177            'classname'   => 'WPCF7R_Action_TwilioSms',
    171178        ),
    172         'wpcf7r-slack'             => array(
     179        'wpcf7r-slack'                => array(
    173180            'name'        => 'wpcf7r-slack',
    174181            'filename'    => 'class-wpcf7r-action-slack.php',
     
    178185            'classname'   => 'WPCF7R_Action_SlackMessage',
    179186        ),
    180         'wpcf7r-eliminate-duplicates'          => array(
     187        'wpcf7r-eliminate-duplicates' => array(
    181188            'name'        => 'wpcf7r-eliminate-duplicates',
    182189            'filename'    => 'class-wpcf7r-action-eliminate-duplicates.php',
     
    185192            'icon'        => WPCF7_PRO_REDIRECT_BUILD_PATH . 'images/icon11.png',
    186193            'classname'   => 'WPCF7R_Action_Eliminate_Duplicates',
    187         )
     194        ),
    188195    );
    189196
Note: See TracChangeset for help on using the changeset viewer.