Privacy Policy Page Helpers WordPress 5.2

WordPress 5.2 new privacy page helpers which are available to use in themes or plugins.

1. Conditional query function

is_privacy_policy()

2. Page template

privacy-policy.php

3. Page body class

.privacy-policy

4. Menu item class

.menu-item-privacy-policy

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.