File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ title : " Built-in filters"
3+ ---
4+
5+ # Built-in filters
6+
7+ This reference documentation details all available built-in filters that can be used to avoid noise in the terms content.
8+
9+ ## Filters
10+
11+ {{< refItem
12+ name="removeQueryParams"
13+ description="Removes specified query parameters from URLs in links and images within the terms content"
14+ > }}
15+
16+ ``` json
17+ "filter" : [
18+ {
19+ "removeQueryParams" : [" utm_source" , " utm_medium" ]
20+ }
21+ ]
22+ ```
23+
24+ Result:
25+
26+ ``` diff
27+ - <p>Read the <a href="https://example.com/example-page?utm_source=OGB&utm_medium=website&lang=en">list of our affiliates</a>.</p>
28+ + <p>Read the <a href="https://example.com/example-page?lang=en">list of our affiliates</a>.</p>
29+ ```
30+
31+ {{< /refItem >}}
You can’t perform that action at this time.
0 commit comments