Plugin Directory

Changeset 3212337


Ignore:
Timestamp:
12/23/2024 11:46:10 PM (16 months ago)
Author:
campation
Message:

Version 1.3.2

Location:
ebook-store-affiliate
Files:
167 added
4 edited

Legend:

Unmodified
Added
Removed
  • ebook-store-affiliate/trunk/cron/estaff-cron.php

    r3177084 r3212337  
    55add_filter( 'cron_schedules', 'estaff_custom_cron_intervals');
    66function estaff_custom_cron_intervals( $schedules ) {
    7 
    87   if(!isset($schedules['every-1-minutes']))   
    98      $schedules['every-1-minutes']  = array('interval' => 60, 'display' => htmlspecialchars_decode(esc_html__('Once every minute',"ebook-store-affiliate")));
  • ebook-store-affiliate/trunk/ebook-store-affiliate.php

    r3177084 r3212337  
    1212 * Plugin URI:        https://campation.com/ebook-store-affiliate/
    1313 * Description:       Connect to the giant store of World of Digitals, enhance your content, earn affiliate commission with 4+ mio ebooks and create backlinks for SEO
    14  * Version:           1.3.1
     14 * Version:           1.3.2
    1515 * Author:            Campation LLC
    1616 * Author URI:        https://campation.com/
     
    4949
    5050// constants
    51 define("ESTAFFVERSION","1.3.1");       // change also in readme.txt
     51define("ESTAFFVERSION","1.3.2");       // change also in readme.txt
    5252define("ESTAFFVERSIONPHP","7.4");
    5353define("ESTAFFPLUGINSLUG","ebook-store-affiliate/ebook-store-affiliate.php");
  • ebook-store-affiliate/trunk/frontend/includes/estaff-shortcode.php

    r3176428 r3212337  
    33
    44// SHORTCODE [estaff_ebooks format=standard/horizontalslider/verticalslider/list ebooks=5 style=3D align=alternate/random/left/right shadow=yes border=yes showprice=yes currency=USD]
     5// if not working with elementor, switch off Elementor -> Settings -> Properties -> Experiments -> Element Caching
     6
    57add_shortcode('estaff_ebooks', 'estaff_shortcode');
    68function estaff_shortcode($atts) {
    79   static $shortcodecount = 0;
    810   $shortcode_id = "estaff-shortcode-".$shortcodecount;
    9      
    1011   if(!wp_script_is($shortcode_id))
    1112      {                 
     
    3536      if($params['format'] == "verticalslider")
    3637         $params['format'] = "horizontalslider";
    37 
    3838      wp_add_inline_script("estaff-shortcode", "if (typeof estaff_shortcode_array === 'undefined') {var estaff_shortcode_array = [];} estaff_shortcode_array['".$shortcode_id."'] = ".wp_json_encode($params), "before");   
    3939      }     
  • ebook-store-affiliate/trunk/readme.txt

    r3177084 r3212337  
    55Requires at least: 6.0
    66Tested up to: 6.8
    7 Stable tag: 1.3.1
     7Stable tag: 1.3.2
    88Requires PHP: 7.4
    99License: GPLv2 or later
Note: See TracChangeset for help on using the changeset viewer.