Astra_Cache_Base::init_cache()
Setup class variables.
Description
Return
(void)
Source
File: classes/cache/class-astra-cache-base.php
public function init_cache() { $this->asset_type = $this->asset_type(); $this->asset_query_var = $this->asset_query_var(); $this->asset_slug = $this->asset_slug(); $this->uploads_dir = astra_addon_filesystem()->get_uploads_dir( $this->cache_dir ); // Create uploads directory. astra_addon_filesystem()->maybe_create_uploads_dir( $this->uploads_dir['path'] ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |