Plugin Directory

Changeset 3488854


Ignore:
Timestamp:
03/23/2026 10:56:49 AM (6 days ago)
Author:
konceptwise
Message:

Performance Improvement

Location:
authyo-otp-authentication-for-woocommerce/trunk
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • authyo-otp-authentication-for-woocommerce/trunk/authyo-otp-authentication-for-woocommerce.php

    r3463509 r3488854  
    44 * Plugin URI: https://wordpress.org/plugins/authyo-otp-authentication-for-woocommerce/
    55 * Description: Our plugin enables secure OTP verification on the Login, Registration, and Checkout pages via Email, WhatsApp, SMS, and Voice Call. In addition, it provides seamless WooCommerce notifications through Email, WhatsApp, and SMS, ensuring reliable communication across multiple channels.
    6  * Version: 1.0.14
     6 * Version: 1.0.15
    77 * Author: Authyo
    88 * Author URI: https://authyo.io
     
    2626
    2727// Define plugin constants
    28 define('AUTHYO_OTP_AUTH_VERSION', '1.0.14');
     28define('AUTHYO_OTP_AUTH_VERSION', '1.0.15');
    2929define('AUTHYO_OTP_AUTH_PLUGIN_DIR', plugin_dir_path(__FILE__));
    3030define('AUTHYO_OTP_AUTH_PLUGIN_URL', plugin_dir_url(__FILE__));
  • authyo-otp-authentication-for-woocommerce/trunk/includes/class-authyo-otp-auth-admin.php

    r3463509 r3488854  
    306306        // WooCommerce Order Notifications
    307307        register_setting('authyo_otp_auth_settings', 'authyo_otp_auth_order_notifications_enabled', array(
     308            'type' => 'string',
     309            'default' => 'no',
     310            'sanitize_callback' => 'sanitize_text_field'
     311        ));
     312
     313        // WooCommerce Order Webhook
     314        register_setting('authyo_otp_auth_settings', 'authyo_otp_auth_order_webhook_enabled', array(
    308315            'type' => 'string',
    309316            'default' => 'no',
     
    519526                                        <strong><?php esc_html_e('Enable WooCommerce Order Notifications', 'authyo-otp-authentication-for-woocommerce'); ?></strong>
    520527                                        <small><?php esc_html_e('Send order status notifications to customers via Email, SMS, and WhatsApp.', 'authyo-otp-authentication-for-woocommerce'); ?></small>
     528                                    </span>
     529                                </label>
     530                            </div>
     531                           
     532                            <div class="authyo-setting-option">
     533                                <label class="authyo-checkbox-label">
     534                                    <?php
     535                                    $order_webhook_enabled = get_option('authyo_otp_auth_order_webhook_enabled', 'no');
     536                                    ?>
     537                                    <input type="checkbox"
     538                                           name="authyo_otp_auth_order_webhook_enabled"
     539                                           value="yes"
     540                                           id="authyo_order_webhook_enabled_toggle"
     541                                           <?php checked($order_webhook_enabled, 'yes'); ?> />
     542                                    <span class="authyo-checkbox-text">
     543                                        <strong><?php esc_html_e('Enable Authyo Order Webhook', 'authyo-otp-authentication-for-woocommerce'); ?></strong>
     544                                        <small><?php esc_html_e('Send order updates directly to Authyo API via webhook.', 'authyo-otp-authentication-for-woocommerce'); ?></small>
    521545                                    </span>
    522546                                </label>
  • authyo-otp-authentication-for-woocommerce/trunk/includes/class-authyo-otp-auth.php

    r3419886 r3488854  
    6161        if ( class_exists( 'Authyo_Notification_Flow' ) ) {
    6262            Authyo_Notification_Flow::get_instance();
     63        }
     64
     65        // Initialize Order Webhook module
     66        require_once AUTHYO_OTP_AUTH_PLUGIN_DIR . 'modules/order-webhook/class-order-webhook.php';
     67        if ( class_exists( 'Authyo_Order_Webhook' ) ) {
     68            Authyo_Order_Webhook::get_instance();
    6369        }
    6470    }
  • authyo-otp-authentication-for-woocommerce/trunk/readme.txt

    r3465512 r3488854  
    44Requires at least: 5.0
    55Tested up to: 6.9
    6 Stable tag: 1.0.14
     6Stable tag: 1.0.15
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    5555
    5656== Changelog ==
     57
     58= 1.0.15 =
     59* Performance improvement
    5760
    5861= 1.0.14 =
Note: See TracChangeset for help on using the changeset viewer.