Changeset 2238250
- Timestamp:
- 02/04/2020 11:13:31 AM (6 years ago)
- Location:
- crm-thrive
- Files:
-
- 30 added
- 2 edited
-
tags/1.0 (added)
-
tags/1.0/admin (added)
-
tags/1.0/admin/class-wsl-admin.php (added)
-
tags/1.0/admin/editor-panel.php (added)
-
tags/1.0/admin/partials (added)
-
tags/1.0/admin/partials/send_to_company_field.php (added)
-
tags/1.0/crm-thrive.php (added)
-
tags/1.0/helpers.php (added)
-
tags/1.0/includes (added)
-
tags/1.0/includes/class-wsl-api.php (added)
-
tags/1.0/includes/class-wsl-cf7-api.php (added)
-
tags/1.0/includes/helpers.php (added)
-
tags/1.0/readme.txt (added)
-
tags/1.1 (added)
-
tags/1.1/admin (added)
-
tags/1.1/admin/class-wsl-admin.php (added)
-
tags/1.1/admin/editor-panel.php (added)
-
tags/1.1/admin/partials (added)
-
tags/1.1/admin/partials/send_to_company_field.php (added)
-
tags/1.1/crm-thrive.php (added)
-
tags/1.1/helpers.php (added)
-
tags/1.1/includes (added)
-
tags/1.1/includes/class-wsl-api.php (added)
-
tags/1.1/includes/class-wsl-cf7-api.php (added)
-
tags/1.1/includes/class-wsl-ninja-api.php (added)
-
tags/1.1/includes/class-wsl-wpf-api.php (added)
-
tags/1.1/includes/helpers.php (added)
-
tags/1.1/readme.txt (added)
-
trunk/crm-thrive.php (modified) (4 diffs)
-
trunk/includes/class-wsl-ninja-api.php (added)
-
trunk/includes/class-wsl-wpf-api.php (added)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
crm-thrive/trunk/crm-thrive.php
r2238081 r2238250 5 5 * Plugin URI: https://www.crmthrive.com/ 6 6 * Description: Allows to generate leads and save to CRM thrive by using various contact form plugins. 7 * Version: 1. 07 * Version: 1.1 8 8 * Author: CRM Thrive 9 9 * Author URI: https://www.crmthrive.com/ … … 11 11 */ 12 12 13 /* Copyright 2020 Yashan Mittal (email : yashanmittal@gmail.com)13 /* Copyright 2020 CRM Thrive (email : development@crmthrive.com) 14 14 15 15 This program is free software; you can redistribute it and/or modify … … 35 35 require_once WSL_INCLUDES_DIR . '/class-wsl-api.php'; 36 36 require_once WSL_INCLUDES_DIR . '/class-wsl-cf7-api.php'; 37 require_once WSL_INCLUDES_DIR . '/class-wsl-wpf-api.php'; 38 require_once WSL_INCLUDES_DIR . '/class-wsl-ninja-api.php'; 37 39 38 40 if(is_admin()){ … … 97 99 // } 98 100 } 101 102 function wsl_ninja_forms_after_submission( $form_data ){ 103 $laravel_api = new Wsl_Ninja_Api($form_data['fields_by_key']); 104 $laravel_api->set_submission_instance($form_data); 105 $laravel_api->call(); 106 } 107 add_action( 'ninja_forms_after_submission', 'wsl_ninja_forms_after_submission' ); 108 109 function wsl_wpf_process_entry_save( $fields, $entry, $form_id, $form_data ) { 110 111 $laravel_api = new Wsl_Wpf_Api($fields); 112 $laravel_api->set_submission_instance($form_data); 113 $laravel_api->call(); 114 } 115 add_filter( 'wpforms_process_entry_save', 'wsl_wpf_process_entry_save', 10, 4 ); -
crm-thrive/trunk/readme.txt
r2238078 r2238250 4 4 Requires at least: 2.0 5 5 Tested up to: 5.3.2 6 Stable tag: 1. 6.26 Stable tag: 1.1 7 7 Requires PHP: 5.2.4 8 8 License: GPLv2 or later … … 28 28 = 1.0 = 29 29 * Initial Version 30 31 = 1.1 = 32 * Support for Ninja Forms added 33 * Support for WPForms added
Note: See TracChangeset
for help on using the changeset viewer.