Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
PUM_AssetCache::generate_cache_filename( $filename )
Description Description
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Warning: foreach() argument must be of type array|object, string given in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 813
Warning: Array to string conversion in /mnt/data/home/502433.cloudwaysapps.com/rhbymdevka/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 808
Parameters Parameters
- $filename
-
(Required)
Return Return
(string)
Source Source
File: classes/AssetCache.php
// Checks and create cachedir. if ( false !== self::$cache_dir && ! is_dir( self::$cache_dir ) ) { /** @var WP_Filesystem_Base $wp_filesystem */ $wp_filesystem->mkdir( self::$cache_dir ); } return false !== self::$cache_dir && is_writable( self::$cache_dir ) && ! isset( $_POST['wp_customize'] ); } /** * Regenerate cache on demand. */ public static function regenerate_cache() { self::cache_js(); self::cache_css(); } /** * Gets the directory caching should be stored in. * * Accounts for various adblock bypass options. *
Expand full source code Collapse full source code View on Trac