Astra_Cache_Base::inline_assets()
Enqueue the assets inline.
Description
Return
(bool)
Source
File: classes/cache/class-astra-cache-base.php
public static function inline_assets() {
$inline = false;
$allow_file_generation = get_option( '_astra_file_generation', 'disable' );
if ( ( defined( 'SCRIPT_DEBUG' ) && true === SCRIPT_DEBUG ) || ! astra_addon_filesystem()->can_access_filesystem()
|| 'disable' === $allow_file_generation || is_customize_preview() ) {
$inline = true;
}
return apply_filters( 'astra_load_dynamic_css_inline', $inline );
}
Expand full source code Collapse full source code View on Trac
Changelog
| Version | Description |
|---|---|
| 2.1.0 | Introduced. |