403Webshell
Server IP : 172.67.158.161  /  Your IP : 3.16.139.116
Web Server : LiteSpeed
System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : giankuin ( 1871)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/giankuin/khowordpress.com/wp-content/plugins/woocommerce/assets/js/frontend/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/giankuin/khowordpress.com/wp-content/plugins/woocommerce/assets/js/frontend/wp-consent-api-integration.js
( function () {
	'use strict';

	// Set order attribution on consent change.
	document.addEventListener( 'wp_listen_for_consent_change', ( e ) => {
		const changedConsentCategory = e.detail;
		for ( const key in changedConsentCategory ) {
			if ( changedConsentCategory.hasOwnProperty( key ) && key === window.wc_order_attribution.params.consentCategory ) {
				window.wc_order_attribution.setOrderTracking( changedConsentCategory[ key ] === 'allow' );
		}
		}
	} );

	// Set order attribution as soon as consent type is defined.
	document.addEventListener( 'wp_consent_type_defined', () => {
		window.wc_order_attribution.setOrderTracking( wp_has_consent( window.wc_order_attribution.params.consentCategory ) );
	} );
}() );


Youez - 2016 - github.com/yon3zu
LinuXploit