Astra_Cache_Base::refresh_assets( String $cache_dir )
Refresh Assets
Description
Parameters
- $cache_dir
-
(String) (Required) dirname of the cache.
Return
(void)
Source
File: classes/cache/class-astra-cache-base.php
public function refresh_assets( $cache_dir ) { if ( ! current_user_can( 'edit_theme_options' ) ) { return; } $this->init_cache(); astra_addon_filesystem()->reset_filesystem_access_status(); $this->delete_cache_files( $cache_dir ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |