Server :
Apache
System :
Linux webd003.cluster126.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User :
atwiofrxug (73666)
PHP Version :
8.4.10
Disable Functions :
_dyuweyrj4,_dyuweyrj4r,dl
Current Directory :
/home/atwiofrxug/mylittletelaviv/wp-content/plugins/cookiebot/addons/lib/buffer/
Directory Status:
Writeable | Document Root:
Writeable
Upload File
Viewing: /home/atwiofrxug/mylittletelaviv/wp-content/plugins/cookiebot/addons/lib/buffer/buffer-output.php
<?php
namespace cookiebot_addons\lib\buffer;
class Buffer_Output implements Buffer_Output_Interface {
/**
* Hook tag names
*
* @var array
*
* @since 1.2.0
*/
private $tags = array();
/**
* @param $tag_name string Hook name
* @param $priority integer Hook priority
* @param array $keywords array List of words to search for in the script
* @param boolean $use_cache Use Cache
*
* @since 1.2.0
*/
public function add_tag( $tag_name, $priority, $keywords = array(), $use_cache = true) {
$tag = new Buffer_Output_Tag( $tag_name, $priority, $keywords, $use_cache );
$unique_id = $tag->tag . '_' . $tag->priority;
/**
* If tag_name and priority exists
* Then merge the keywords
*/
if ( isset( $this->tags[ $unique_id ] ) ) {
$this->tags[ $unique_id ]->merge_keywords( $keywords );
}
else {
$this->tags[ $unique_id ] = $tag;
}
}
/**
* Process every tag
*
* @since 1.2.0
*/
public function run_actions() {
foreach ( $this->tags as $tag ) {
add_action( $tag->tag, array( $tag, 'cookiebot_start_buffer' ), $tag->priority - 1 );
add_action( $tag->tag, array( $tag, 'cookiebot_stop_buffer' ), $tag->priority + 1 );
}
}
/**
* Returns true if tags has more than 0 item
*
* @return bool
*
* @since 1.2.0
*/
public function has_action() {
return ( count( $this->tags ) > 0 ) ? true : false;
}
}
Cyb3r Drag0nz Team • Google Edition