19 lines
487 B
PHP
19 lines
487 B
PHP
<?php defined( 'ABSPATH' ) or die( "you do not have access to this page!" );
|
|
|
|
/**
|
|
* Whitelisting podcast player inline script.
|
|
* Compatiblity fix for Complianz GDPR/CCPA
|
|
*
|
|
* https://wordpress.org/support/plugin/podcast-player/
|
|
* author: @vedathemes
|
|
*/
|
|
|
|
add_filter ( 'cmplz_service_category',
|
|
function( $category, $total_match, $found ) {
|
|
if ( $found && false !== strpos( $total_match, 'pppublic-js-extra' ) ) {
|
|
$category = 'functional';
|
|
}
|
|
return $category;
|
|
}, 10 , 3
|
|
);
|