TrackingSettings
6 years ago
views
6 years ago
AccessSettings.php
6 years ago
Admin.php
6 years ago
AdminSettings.php
6 years ago
AdminSettingsInterface.php
6 years ago
AdvancedSettings.php
6 years ago
ExclusionSettings.php
6 years ago
GeolocationSettings.php
6 years ago
GetStarted.php
6 years ago
Info.php
6 years ago
Marketplace.php
6 years ago
Menu.php
6 years ago
PrivacySettings.php
6 years ago
SafeModeMenu.php
6 years ago
Summary.php
6 years ago
SystemReport.php
6 years ago
TrackingSettings.php
6 years ago
PrivacySettings.php
28 lines
| 1 | <?php |
| 2 | /** |
| 3 | * Matomo - free/libre analytics platform |
| 4 | * |
| 5 | * @link https://matomo.org |
| 6 | * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later |
| 7 | * @package matomo |
| 8 | */ |
| 9 | |
| 10 | namespace WpMatomo\Admin; |
| 11 | |
| 12 | if ( ! defined( 'ABSPATH' ) ) { |
| 13 | exit; // if accessed directly |
| 14 | } |
| 15 | |
| 16 | class PrivacySettings implements AdminSettingsInterface { |
| 17 | const EXAMPLE_MINIMAL = '[matomo_opt_out]'; |
| 18 | const EXAMPLE_FULL = '[matomo_opt_out language=de background_color=red font_color=fff font_size=34 font_family=Arial width=500px height=100px]'; |
| 19 | |
| 20 | public function get_title() { |
| 21 | return esc_html__( 'Privacy & GDPR', 'matomo' ); |
| 22 | } |
| 23 | |
| 24 | public function show_settings() { |
| 25 | include dirname( __FILE__ ) . '/views/privacy_gdpr.php'; |
| 26 | } |
| 27 | } |
| 28 |