PHP code example of iubenda / iubenda-cookie-class
1. Go to this page and download the library: Download iubenda/iubenda-cookie-class library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
iubenda / iubenda-cookie-class example snippets
function iubenda_system( $html, $type = 'page' ) {
if ( empty( $html ) )
return;
d() ) {
$iubenda = new iubendaParser( $html, array( 'type' => in_array( $type, array( 'page', 'faster' ), true ) ? $type : 'page' ) );
$html = $iubenda->parse();
}
// finished
return $html;
}