Example 1 — Add a note
Print a line only on the privacy page.
<?php if ( is_privacy_policy() ) {
echo '<p>Last updated: November 2026</p>';
} ?> How It Works
is_privacy_policy()checks the page chosen in Settings.- The note is printed only there.
- Other pages skip it.

