PluginProbe
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode / 3.4.0
Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode v3.4.0
4.7.3 4.7.2 4.7.1 trunk 2.3.0 2.4.0 2.4.1 2.4.2 2.5.0 3.0.0 3.0.1 3.1.0 3.10.0 3.10.1 3.11.1 3.11.2 3.11.3 3.2.0 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 All 93 releases
cookiebot / addons / lib / buffer / buffer-output-tag-interface.php

buffer-output-tag-interface.php in Cookiebot by Usercentrics – Automatic Cookie Banner for GDPR/CCPA & Google Consent Mode 3.4.0, at addons/lib/buffer/buffer-output-tag-interface.php

44 lines 799 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace cookiebot_addons\lib\buffer;
4
5 Interface Buffer_Output_Tag_Interface {
6
7 /**
8 * Buffer_Output_Tag_Interface constructor.
9 *
10 * @param $tag
11 * @param $priority
12 * @param array $keywords
13 *
14 * @version 1.3.0
15 * @since 1.1.0
16 */
17 public function __construct( $tag, $priority, $keywords = array() );
18
19 /**
20 * Start buffering
21 *
22 * @since 1.1.0
23 */
24 public function cookiebot_start_buffer();
25
26 /**
27 * End buffer and return manipulated output
28 *
29 * @since 1.1.0
30 */
31 public function cookiebot_stop_buffer();
32
33 /**
34 * Manipulate the output and add scritp attributes if it does match the criterion
35 *
36 * @param $buffer string Catched output
37 *
38 * @return mixed string Manipulated Output
39 *
40 * @since 1.1.0
41 */
42 public function manipulate_script( $buffer );
43 }
44