Astra_Cache_Base::file_write( string $style_data, string $timestamp, string $assets_info )

Creates CSS files.


Description


Parameters

$style_data

(string) (Required) Gets the CSS for the current Page.

$timestamp

(string) (Required) Gets the current timestamp.

$assets_info

(string) (Required) Gets the assets path info.


Return

(void)


Source

File: classes/cache/class-astra-cache-base.php

	public function file_write( $style_data, $timestamp, $assets_info ) {
		astra_addon_filesystem()->put_contents( $assets_info['path'], $style_data );
		$this->update_timestamp( $timestamp );
	}

Changelog

Changelog
Version Description
2.1.0 Introduced.


User Contributed Notes

You must log in before being able to contribute a note or feedback.