PluginProbe
WP Ultimate Post Grid / 2.8.2
WP Ultimate Post Grid v2.8.2
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
wp-ultimate-post-grid / helpers / privacy.php

privacy.php in WP Ultimate Post Grid 2.8.2, at helpers/privacy.php

24 lines 759 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 class WPUPG_Privacy {
4
5 public function __construct()
6 {
7 add_action('admin_init', array($this, 'privacy_policy') );
8 }
9
10 public function privacy_policy()
11 {
12 if ( ! function_exists( 'wp_add_privacy_policy_content' ) ) {
13 return;
14 }
15
16 $content = __( 'WP Ultimate Post Grid does not collect any data. Fonts in the grid templates will be loaded from the Google Web Font API (fonts.googleapis.com) unless changed in the Template Editor. You will be agreeing to their Terms of Use and Privacy Policy.',
17 'wp-ultimate-post-grid' );
18
19 wp_add_privacy_policy_content(
20 'WP Ultimate Post Grid',
21 wp_kses_post( wpautop( $content, false ) )
22 );
23 }
24 }