| Server IP : 121.121.20.254 / Your IP : 216.73.216.41 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/6pocketz/wp-content/plugins/kadence-blocks/includes/resources/Cache/ |
Upload File : |
<?php declare( strict_types=1 );
namespace KadenceWP\KadenceBlocks\Cache;
/**
* Caches AI Related files.
*/
final class Ai_Cache extends Block_Library_Cache {
/**
* Create a hashed file name from provided identifier.
*
* @param mixed $identifier Unique data to identify this file.
*
* @return string
* @throws \InvalidArgumentException
* @throws \RuntimeException
*/
protected function filename( $identifier ): string {
return $this->hasher->hash( [
'kadence-ai-generated-content',
$identifier,
] ) . $this->ext;
}
}