Plugin Directory

Changeset 3087330


Ignore:
Timestamp:
05/15/2024 06:56:29 PM (22 months ago)
Author:
teamswipe
Message:

Update Plugin

Location:
swipe-for-gravity-forms/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • swipe-for-gravity-forms/trunk/includes/class-swipego-gf.php

    r3087281 r3087330  
    2323            require_once( SWIPEGO_GF_PATH . 'includes/class-swipego-gf-api.php' );
    2424       
    25             if ( swipego_get_integration() ) {
     25            if ( swipego_is_logged_in() || swipego_get_integration() ) {
    2626               
    2727                // Initialize payment gateway
  • swipe-for-gravity-forms/trunk/libraries/swipego/class-swipego.php

    r2753484 r3087330  
    3131    new Swipego();
    3232}
     33
     34if ( !function_exists('swipego_get_integration') ) {
     35    function swipego_get_integration()
     36    {
     37        return true;
     38    }
     39}
  • swipe-for-gravity-forms/trunk/swipego-gf.php

    r3087281 r3087330  
    1616if ( class_exists( 'Swipego_GF' ) ) return;
    1717
     18if ( ! function_exists('swipego_get_integration') ) return;
     19
    1820define( 'SWIPEGO_GF_FILE', __FILE__ );
    1921define( 'SWIPEGO_GF_URL', plugin_dir_url( SWIPEGO_GF_FILE ) );
    2022define( 'SWIPEGO_GF_PATH', plugin_dir_path( SWIPEGO_GF_FILE ) );
    2123define( 'SWIPEGO_GF_BASENAME', plugin_basename( SWIPEGO_GF_FILE ) );
    22 define( 'SWIPEGO_GF_VERSION', '1.0.0' );
     24define( 'SWIPEGO_GF_VERSION', '1.0.6' );
    2325
    2426// Plugin core class
Note: See TracChangeset for help on using the changeset viewer.