Plugin Directory

Changeset 2008551


Ignore:
Timestamp:
01/08/2019 05:17:18 PM (7 years ago)
Author:
poshtibancom
Message:

Version 1.3.0

Location:
poshtiban/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • poshtiban/trunk/includes/woocommerce.class.php

    r1983768 r2008551  
    687687            }
    688688        }
    689         $show_title = true;
    690         include Poshtiban_PATH . '/templates/order-downloads.php';
     689        $show_title = false;
     690        if( apply_filters('poshtiban_show_download_template', true, $this->type) ) {
     691            include Poshtiban_PATH . '/templates/order-downloads.php';
     692        }
     693        do_action('poshtiban_downloads_template', $downloads, $show_title);
    691694    }
    692695
     
    719722        }
    720723        $show_title = false;
    721         include Poshtiban_PATH . '/templates/order-downloads.php';
     724        if( apply_filters('poshtiban_show_download_template', true, $this->type) ) {
     725            include Poshtiban_PATH . '/templates/order-downloads.php';
     726        }
     727        do_action('poshtiban_downloads_template', $downloads, $show_title);
    722728    }
    723729
  • poshtiban/trunk/poshtiban-wordpress-plugin.php

    r1983768 r2008551  
    44Plugin URI: https://poshtiban.com/site/user-guide/poshtiban-wordpress-plugin
    55Description: A complete storage solution for wordpress websites.
    6 Version: 1.2.0
     6Version: 1.3.0
    77Author: Mojtaba Darvishi
    88Author URI: http://mojtaba.in
  • poshtiban/trunk/readme.txt

    r1983768 r2008551  
    4040== Changelog ==
    4141
     42= 1.3.0 =
     43
     44* Add `poshtiban_show_download_template` filter
     45* Add `poshtiban_downloads_template` action
     46
     47
     48
    4249= 1.2.0 =
    4350
Note: See TracChangeset for help on using the changeset viewer.