PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.22
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.22
1.4.22 1.4.21 1.4.20 1.4.19 1.4.18 1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 All 185 releases
← All changes | backend/views/components/Docs/components/resources/AdditionalResources.jsx +2 -1 1.4.19 → 1.4.22 View file →
@@ -1,7 +1,8 @@
1 1 import { useEffect, useState } from 'react';
2 2 import DiscoResourceCard from './ResourceCard';
3 3 import SkeletonCard from './SkeletonCard';
4 +import withUtm from '../../utils/withUtm';
4 5
5 6 function getThumbnail(post) {
6 7 const featured = post._embedded?.['wp:featuredmedia']?.[0]?.source_url;
7 8 if (featured) return featured;
@@ -34,9 +35,9 @@
34 35 read:
35 36 wordCount > 0
36 37 ? `About ${Math.max(1, Math.ceil(wordCount / 200))} Min Read`
37 38 : 'About 5 Min Read',
38 - link: post.link,
39 + link: withUtm(post.link, 'help-docs', 'blog-post'),
39 40 imageUrl: getThumbnail(post),
40 41 };
41 42 }
42 43