You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Fixed broken product page layout with Collapse field in use
- Fixed issue with files can't be downloaded from the Order Received email
- Updated dependencies
Copy file name to clipboardExpand all lines: inc/admin.php
+44Lines changed: 44 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -821,3 +821,47 @@ function ppom_admin_bar_menu() {
821
821
);
822
822
}
823
823
}
824
+
825
+
/**
826
+
* Set Black Friday data.
827
+
*
828
+
* @param array $configs The configuration array for the loaded products.
829
+
*
830
+
* @return array
831
+
*/
832
+
functionppom_add_black_friday_data( $configs ) {
833
+
$config = $configs['default'];
834
+
835
+
// translators: %1$s - HTML tag, %2$s - discount, %3$s - HTML tag, %4$s - product name.
836
+
$message_template = __( 'Our biggest sale of the year: %1$sup to %2$s OFF%3$s on %4$s. Don\'t miss this limited-time offer.', 'woocommerce-product-addon' );
0 commit comments