We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0022b40 commit 1f1c3fdCopy full SHA for 1f1c3fd
src/views/reportOptIn.php
@@ -6,8 +6,13 @@
6
</p>
7
8
<div style="margin-bottom: 15px;">
9
+ <?php if ($args['termsUrl'] !== '') { ?>
10
<a href="<?php echo esc_attr($args['termsUrl']); ?>" style="text-decoration: none;">Terms of service</a>
- <a href="<?php echo esc_attr($args['policyUrl']); ?>" style="text-decoration: none;">Privacy Policy</a>
11
+ <?php } ?>
12
+
13
+ <?php if ($args['policyUrl'] !== '') { ?>
14
+ <a href="<?php echo esc_attr($args['policyUrl']); ?>" style="text-decoration: none;">Privacy Policy</a>
15
16
</div>
17
18
<div>
0 commit comments