Astra_Addon_Cache::astra_refresh_assets( int|mixed $post_id = null )
Refresh Assets.
Description
Parameters
- $post_id
-
(int|mixed) (Optional) Post ID to refresh cache for specific post, or WP_Customize_Manager object from customize_save hook.
Default value: null
Return
(void)
Source
File: classes/cache/class-astra-addon-cache.php
public function astra_refresh_assets() {
parent::refresh_assets( $this->cache_dir );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |