Plugin Directory

Changeset 3326139


Ignore:
Timestamp:
07/11/2025 08:26:20 AM (9 months ago)
Author:
ibsofts
Message:

Updated action hook to send form data to API on Contact Form 7 submission.

Location:
go-high-level-extension-for-contact-form7
Files:
72 added
12 edited

Legend:

Unmodified
Added
Removed
  • go-high-level-extension-for-contact-form7/trunk/README.txt

    r3268286 r3326139  
    55Requires at least: 4.0
    66Tested up to: 6.7
    7 Stable tag: 1.0.3
     7Stable tag: 1.0.4
    88Requires PHP: 7.4
    99License: GPLv2 or later
     
    156156
    157157== Changelog ==
     158= 1.0.4 =
     159* Updated action hook to send form data to API on Contact Form 7 submission.
     160
    158161= 1.0.3 =
    159162* Revised plugin name.
     
    171174
    172175== Upgrade Notice ==
     176= 1.0.4 =
     177* Updated action hook to send form data to API on Contact Form 7 submission.
     178
    173179= 1.0.3 =
    174180* Revised plugin name.
    175 * UI enhancements for an improved user experience..
     181* UI enhancements for an improved user experience.
    176182
    177183= 1.0.2 =
  • go-high-level-extension-for-contact-form7/trunk/admin/class-ghl-cf7-admin.php

    r3268286 r3326139  
    55 *
    66 * @link       https://https://www.ibsofts.com
    7  * @since      1.0.3
     7 * @since      1.0.4
    88 *
    99 * @package    GHLCF7
     
    2727     * The ID of this plugin.
    2828     *
    29      * @since    1.0.3
     29     * @since    1.0.4
    3030     * @access   private
    3131     * @var      string    $plugin_name    The ID of this plugin.
     
    3636     * The version of this plugin.
    3737     *
    38      * @since    1.0.3
     38     * @since    1.0.4
    3939     * @access   private
    4040     * @var      string    $version    The current version of this plugin.
     
    4545     * Initialize the class and set its properties.
    4646     *
    47      * @since    1.0.3
     47     * @since    1.0.4
    4848     * @param      string    $plugin_name       The name of this plugin.
    4949     * @param      string    $version    The version of this plugin.
     
    5959     * Register the stylesheets for the admin area.
    6060     *
    61      * @since    1.0.3
     61     * @since    1.0.4
    6262     */
    6363    public function enqueue_styles()
     
    8484     * Register the JavaScript for the admin area.
    8585     *
    86      * @since    1.0.3
     86     * @since    1.0.4
    8787     */
    8888    public function enqueue_scripts()
  • go-high-level-extension-for-contact-form7/trunk/admin/partials/ghl-cf7-admin-display.php

    r3268286 r3326139  
    77 *
    88 * @link       https://https://www.ibsofts.com
    9  * @since      1.0.3
     9 * @since      1.0.4
    1010 *
    1111 * @package    GHLCF7
  • go-high-level-extension-for-contact-form7/trunk/ghl-cf7.php

    r3268286 r3326139  
    1010 *
    1111 * @link              https://www.ibsofts.com
    12  * @since             1.0.3
     12 * @since             1.0.4
    1313 * @package           GHLCF7
    1414 *
     
    1717 * Plugin URI:        https://www.ibsofts.com/plugins/go-high-level-extension-for-contact-form7
    1818 * Description:       This plugin send Contact Form 7 Data to Go High Level on form submission.
    19  * Version:           1.0.3
     19 * Version:           1.0.4
    2020 * Author:            iB Softs
    2121 * Author URI:        https://www.ibsofts.com/
     
    3333/**
    3434 * Currently plugin version.
    35  * Start at version 1.0.3 and use SemVer - https://semver.org
     35 * Start at version 1.0.4 and use SemVer - https://semver.org
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define('GHLCF7_VERSION', '1.0.3');
     38define('GHLCF7_VERSION', '1.0.4');
    3939define('GHLCF7_PLUGIN_BASENAME', plugin_basename(__FILE__));
    4040define('GHLCF7_LOCATION_CONNECTED', false);
     
    9191 * not affect the page life cycle.
    9292 *
    93  * @since    1.0.3
     93 * @since    1.0.4
    9494 */
    9595if (! function_exists('ghlcf7_run')) {
  • go-high-level-extension-for-contact-form7/trunk/includes/class-ghl-cf7-activator.php

    r3268286 r3326139  
    55 *
    66 * @link       https://https://www.ibsofts.com
    7  * @since      1.0.3
     7 * @since      1.0.4
    88 *
    99 * @package    GHLCF7
     
    1616 * This class defines all code necessary to run during the plugin's activation.
    1717 *
    18  * @since      1.0.3
     18 * @since      1.0.4
    1919 * @package    GHLCF7
    2020 * @subpackage GHLCF7/includes
     
    2929     * Long Description.
    3030     *
    31      * @since    1.0.3
     31     * @since    1.0.4
    3232     */
    3333    public static function activate() {}
  • go-high-level-extension-for-contact-form7/trunk/includes/class-ghl-cf7-deactivator.php

    r3268286 r3326139  
    55 *
    66 * @link       https://https://www.ibsofts.com
    7  * @since      1.0.3
     7 * @since      1.0.4
    88 *
    99 * @package    GHLCF7
     
    1616 * This class defines all code necessary to run during the plugin's deactivation.
    1717 *
    18  * @since      1.0.3
     18 * @since      1.0.4
    1919 * @package    GHLCF7
    2020 * @subpackage GHLCF7/includes
     
    2929     * Long Description.
    3030     *
    31      * @since    1.0.3
     31     * @since    1.0.4
    3232     */
    3333    public static function deactivate() {}
  • go-high-level-extension-for-contact-form7/trunk/includes/class-ghl-cf7-i18n.php

    r3268286 r3326139  
    88 *
    99 * @link       https://https://www.ibsofts.com
    10  * @since      1.0.3
     10 * @since      1.0.4
    1111 *
    1212 * @package    GHLCF7
     
    2020 * so that it is ready for translation.
    2121 *
    22  * @since      1.0.3
     22 * @since      1.0.4
    2323 * @package    GHLCF7
    2424 * @subpackage GHLCF7/includes
     
    3232     * Load the plugin text domain for translation.
    3333     *
    34      * @since    1.0.3
     34     * @since    1.0.4
    3535     */
    3636    public function load_plugin_textdomain()
  • go-high-level-extension-for-contact-form7/trunk/includes/class-ghl-cf7-loader.php

    r3268286 r3326139  
    55 *
    66 * @link       https://https://www.ibsofts.com
    7  * @since      1.0.3
     7 * @since      1.0.4
    88 *
    99 * @package    GHLCF7
     
    2828     * The array of actions registered with WordPress.
    2929     *
    30      * @since    1.0.3
     30     * @since    1.0.4
    3131     * @access   protected
    3232     * @var      array    $actions    The actions registered with WordPress to fire when the plugin loads.
     
    3737     * The array of filters registered with WordPress.
    3838     *
    39      * @since    1.0.3
     39     * @since    1.0.4
    4040     * @access   protected
    4141     * @var      array    $filters    The filters registered with WordPress to fire when the plugin loads.
     
    4646     * Initialize the collections used to maintain the actions and filters.
    4747     *
    48      * @since    1.0.3
     48     * @since    1.0.4
    4949     */
    5050    public function __construct()
     
    5858     * Add a new action to the collection to be registered with WordPress.
    5959     *
    60      * @since    1.0.3
     60     * @since    1.0.4
    6161     * @param    string               $hook             The name of the WordPress action that is being registered.
    6262     * @param    object               $component        A reference to the instance of the object on which the action is defined.
     
    7373     * Add a new filter to the collection to be registered with WordPress.
    7474     *
    75      * @since    1.0.3
     75     * @since    1.0.4
    7676     * @param    string               $hook             The name of the WordPress filter that is being registered.
    7777     * @param    object               $component        A reference to the instance of the object on which the filter is defined.
     
    8989     * collection.
    9090     *
    91      * @since    1.0.3
     91     * @since    1.0.4
    9292     * @access   private
    9393     * @param    array                $hooks            The collection of hooks that is being registered (that is, actions or filters).
     
    116116     * Register the filters and actions with WordPress.
    117117     *
    118      * @since    1.0.3
     118     * @since    1.0.4
    119119     */
    120120    public function run()
  • go-high-level-extension-for-contact-form7/trunk/includes/class-ghl-cf7.php

    r3268286 r3326139  
    88 *
    99 * @link       https://https://www.ibsofts.com
    10  * @since      1.0.3
     10 * @since      1.0.4
    1111 *
    1212 * @package    GHLCF7
     
    2323 * version of the plugin.
    2424 *
    25  * @since      1.0.3
     25 * @since      1.0.4
    2626 * @package    GHLCF7
    2727 * @subpackage GHLCF7/includes
     
    3535     * the plugin.
    3636     *
    37      * @since    1.0.3
     37     * @since    1.0.4
    3838     * @access   protected
    3939     * @var      GHLCF7_Loader    $loader    Maintains and registers all hooks for the plugin.
     
    4444     * The unique identifier of this plugin.
    4545     *
    46      * @since    1.0.3
     46     * @since    1.0.4
    4747     * @access   protected
    4848     * @var      string    $plugin_name    The string used to uniquely identify this plugin.
     
    5353     * The current version of the plugin.
    5454     *
    55      * @since    1.0.3
     55     * @since    1.0.4
    5656     * @access   protected
    5757     * @var      string    $version    The current version of the plugin.
     
    6666     * the public-facing side of the site.
    6767     *
    68      * @since    1.0.3
     68     * @since    1.0.4
    6969     */
    7070    public function __construct()
     
    7373            $this->version = GHLCF7_VERSION;
    7474        } else {
    75             $this->version = '1.0.3';
     75            $this->version = '1.0.4';
    7676        }
    7777        $this->plugin_name = 'ghl-cf7';
     
    9696     * with WordPress.
    9797     *
    98      * @since    1.0.3
     98     * @since    1.0.4
    9999     * @access   private
    100100     */
     
    138138     * with WordPress.
    139139     *
    140      * @since    1.0.3
     140     * @since    1.0.4
    141141     * @access   private
    142142     */
     
    153153     * of the plugin.
    154154     *
    155      * @since    1.0.3
     155     * @since    1.0.4
    156156     * @access   private
    157157     */
     
    164164        $this->loader->add_action('admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts');
    165165
    166 
    167166        //send data to contact form.
    168         $this->loader->add_action('wpcf7_submit', $plugin_admin, 'ghlcf7_send_form_data_to_api');
     167        $this->loader->add_action('wpcf7_mail_sent', $plugin_admin, 'ghlcf7_send_form_data_to_api');
    169168
    170169        $this->loader->add_filter('wpcf7_editor_panels', $plugin_admin, 'ghlcf7_form_settings_tab');
     
    176175     * of the plugin.
    177176     *
    178      * @since    1.0.3
     177     * @since    1.0.4
    179178     * @access   private
    180179     */
     
    191190     * Run the loader to execute all of the hooks with WordPress.
    192191     *
    193      * @since    1.0.3
     192     * @since    1.0.4
    194193     */
    195194    public function run()
     
    202201     * WordPress and to define internationalization functionality.
    203202     *
    204      * @since     1.0.3
     203     * @since     1.0.4
    205204     * @return    string    The name of the plugin.
    206205     */
     
    213212     * The reference to the class that orchestrates the hooks with the plugin.
    214213     *
    215      * @since     1.0.3
     214     * @since     1.0.4
    216215     * @return    GHLCF7_Loader    Orchestrates the hooks of the plugin.
    217216     */
     
    224223     * Retrieve the version number of the plugin.
    225224     *
    226      * @since     1.0.3
     225     * @since     1.0.4
    227226     * @return    string    The version number of the plugin.
    228227     */
  • go-high-level-extension-for-contact-form7/trunk/public/class-ghl-cf7-public.php

    r3268286 r3326139  
    55 *
    66 * @link       https://https://www.ibsofts.com
    7  * @since      1.0.3
     7 * @since      1.0.4
    88 *
    99 * @package    GHLCF7
     
    2727     * The ID of this plugin.
    2828     *
    29      * @since    1.0.3
     29     * @since    1.0.4
    3030     * @access   private
    3131     * @var      string    $plugin_name    The ID of this plugin.
     
    3636     * The version of this plugin.
    3737     *
    38      * @since    1.0.3
     38     * @since    1.0.4
    3939     * @access   private
    4040     * @var      string    $version    The current version of this plugin.
     
    4545     * Initialize the class and set its properties.
    4646     *
    47      * @since    1.0.3
     47     * @since    1.0.4
    4848     * @param      string    $plugin_name       The name of the plugin.
    4949     * @param      string    $version    The version of this plugin.
     
    5959     * Register the stylesheets for the public-facing side of the site.
    6060     *
    61      * @since    1.0.3
     61     * @since    1.0.4
    6262     */
    6363    public function enqueue_styles()
     
    8282     * Register the JavaScript for the public-facing side of the site.
    8383     *
    84      * @since    1.0.3
     84     * @since    1.0.4
    8585     */
    8686    public function enqueue_scripts()
  • go-high-level-extension-for-contact-form7/trunk/public/partials/ghl-cf7-public-display.php

    r3268286 r3326139  
    77 *
    88 * @link       https://https://www.ibsofts.com
    9  * @since      1.0.3
     9 * @since      1.0.4
    1010 *
    1111 * @package    GHLCF7
  • go-high-level-extension-for-contact-form7/trunk/uninstall.php

    r3268286 r3326139  
    2121 *
    2222 * @link      https://www.ibsofts.com
    23  * @since      1.0.3
     23 * @since      1.0.4
    2424 *
    2525 * @package    GHLCF7
Note: See TracChangeset for help on using the changeset viewer.