Last active
May 24, 2018 11:57
-
-
Save amielucha/22be7fcc37c66e4d35d8c8abc18cec80 to your computer and use it in GitHub Desktop.
Lightseek Privacy Policy addon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Displays a Privacy Policy link in the footer. | |
| * Requires WP 4.9.6 | |
| */ | |
| function lightseek_privacy_policy() { | |
| if ( function_exists( 'the_privacy_policy_link' ) ) | |
| the_privacy_policy_link( '<div class="lightseek-pp">', '</div>'); | |
| } | |
| add_action('lightseek_footer_siteinfo', 'lightseek_privacy_policy', 60); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment