Version Description
(23.10.2020) =
- Fix :- Tracker cron event was not running properly which is fixed now.
- Dev :- With the help of filters now able to change the name of the print invoice and delivery notes in the dropdown menu on Orders page.
Download this release
Release Info
| Developer | tychesoftwares |
| Plugin | |
| Version | 4.6.1 |
| Comparing to | |
| See all releases | |
Code changes from version 4.6.0 to 4.6.1
includes/class-wcdn-writepanel.php
CHANGED
|
@@ -118,9 +118,12 @@ if ( ! class_exists( 'WCDN_Writepanel' ) ) {
|
|
| 118 |
* @param array $bulk_actions Array of the list in dropdown.
|
| 119 |
*/
|
| 120 |
public function register_my_bulk_actions( $bulk_actions ) {
|
| 121 |
-
$
|
| 122 |
-
$
|
| 123 |
-
$
|
|
|
|
|
|
|
|
|
|
| 124 |
return $bulk_actions;
|
| 125 |
}
|
| 126 |
|
| 118 |
* @param array $bulk_actions Array of the list in dropdown.
|
| 119 |
*/
|
| 120 |
public function register_my_bulk_actions( $bulk_actions ) {
|
| 121 |
+
$print_invoice_label = apply_filters( 'wcdn_change_text_of_print_invoice_in_bulk_option', 'Print Invoice' );
|
| 122 |
+
$print_delivery_note_label = apply_filters( 'wcdn_change_text_of_print_delivery_note_in_bulk_option', 'Print Delivery Note' );
|
| 123 |
+
$print_receipt_label = apply_filters( 'wcdn_change_text_of_print_receipt_in_bulk_option', 'Print Receipt' );
|
| 124 |
+
$bulk_actions['wcdn_print_invoice'] = wp_kses_post( $print_invoice_label, 'woocommerce-delivery-notes' );
|
| 125 |
+
$bulk_actions['wcdn_print_delivery-note'] = wp_kses_post( $print_delivery_note_label, 'woocommerce-delivery-notes' );
|
| 126 |
+
$bulk_actions['wcdn_print_receipt'] = wp_kses_post( $print_receipt_label, 'woocommerce-delivery-notes' );
|
| 127 |
return $bulk_actions;
|
| 128 |
}
|
| 129 |
|
includes/component/tracking-data/ts-tracking.php
CHANGED
|
@@ -233,7 +233,7 @@ class WCDN_TS_tracking {
|
|
| 233 |
*/
|
| 234 |
public static function ts_schedule_cron_job () {
|
| 235 |
if ( ! wp_next_scheduled( self::$plugin_prefix . '_ts_tracker_send_event' ) ) {
|
| 236 |
-
wp_schedule_event( time(), 'once_in_week', self::$plugin_prefix . '_ts_tracker_send_event' );
|
| 237 |
}
|
| 238 |
}
|
| 239 |
|
| 233 |
*/
|
| 234 |
public static function ts_schedule_cron_job () {
|
| 235 |
if ( ! wp_next_scheduled( self::$plugin_prefix . '_ts_tracker_send_event' ) ) {
|
| 236 |
+
wp_schedule_event( time() + 604800, 'once_in_week', self::$plugin_prefix . '_ts_tracker_send_event' );
|
| 237 |
}
|
| 238 |
}
|
| 239 |
|
readme.txt
CHANGED
|
@@ -338,6 +338,11 @@ Please [contribute your translation](https://github.com/TycheSoftwares/woocommer
|
|
| 338 |
|
| 339 |
== Changelog ==
|
| 340 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 341 |
= 4.6.0 (22.09.2020) =
|
| 342 |
|
| 343 |
* Fix :- Notice was coming since WooCommerce V4.4.0 which is fixed now.
|
| 338 |
|
| 339 |
== Changelog ==
|
| 340 |
|
| 341 |
+
= 4.6.1 (23.10.2020) =
|
| 342 |
+
|
| 343 |
+
* Fix :- Tracker cron event was not running properly which is fixed now.
|
| 344 |
+
* Dev :- With the help of filters now able to change the name of the print invoice and delivery notes in the dropdown menu on Orders page.
|
| 345 |
+
|
| 346 |
= 4.6.0 (22.09.2020) =
|
| 347 |
|
| 348 |
* Fix :- Notice was coming since WooCommerce V4.4.0 which is fixed now.
|
woocommerce-delivery-notes.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
* Plugin Name: Print Invoice & Delivery Notes for WooCommerce
|
| 6 |
* Plugin URI: https://www.tychesoftwares.com/
|
| 7 |
* Description: Print Invoices & Delivery Notes for WooCommerce Orders.
|
| 8 |
-
* Version: 4.6.
|
| 9 |
* Author: Tyche Softwares
|
| 10 |
* Author URI: https://www.tychesoftwares.com/
|
| 11 |
* License: GPLv3 or later
|
| 5 |
* Plugin Name: Print Invoice & Delivery Notes for WooCommerce
|
| 6 |
* Plugin URI: https://www.tychesoftwares.com/
|
| 7 |
* Description: Print Invoices & Delivery Notes for WooCommerce Orders.
|
| 8 |
+
* Version: 4.6.1
|
| 9 |
* Author: Tyche Softwares
|
| 10 |
* Author URI: https://www.tychesoftwares.com/
|
| 11 |
* License: GPLv3 or later
|
