Additional_Page.php
1 year ago
Dashboard_Page.php
1 year ago
Embeddings_Page.php
1 year ago
Gcm_Page.php
1 year ago
General_Page.php
1 year ago
Gtm_Page.php
1 year ago
Iab_Page.php
1 year ago
Multiple_Page.php
1 year ago
Settings_Page.php
1 year ago
Settings_Page_Interface.php
1 year ago
Support_Page.php
1 year ago
Additional_Page.php
24 lines
| 1 | <?php |
| 2 | |
| 3 | namespace cybot\cookiebot\settings\pages; |
| 4 | |
| 5 | use cybot\cookiebot\lib\Cookiebot_Frame; |
| 6 | use cybot\cookiebot\lib\Cookiebot_WP; |
| 7 | use cybot\cookiebot\lib\Supported_Languages; |
| 8 | use function cybot\cookiebot\lib\asset_url; |
| 9 | use function cybot\cookiebot\lib\cookiebot_get_language_from_setting; |
| 10 | use function cybot\cookiebot\lib\include_view; |
| 11 | |
| 12 | class Additional_Page implements Settings_Page_Interface { |
| 13 | |
| 14 | public function display() { |
| 15 | $args = array( |
| 16 | 'is_ms' => is_multisite(), |
| 17 | 'network_scrip_tag_cd_attr' => get_site_option( 'cookiebot-script-tag-cd-attribute', 'custom' ), |
| 18 | |
| 19 | ); |
| 20 | |
| 21 | include_view( Cookiebot_Frame::get_view_path() . 'settings/additional-page.php', $args ); |
| 22 | } |
| 23 | } |
| 24 |