Astra_Addon_Filesystem::put_contents( string $file_path, string $style_data )

Adds contents to the file.


Description


Parameters

$file_path

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

$style_data

(string) (Required) Gets the CSS data.


Return

(bool) $put_content returns false if file write is not successful.


Source

File: classes/class-astra-addon-filesystem.php

	public function put_contents( $file_path, $style_data ) {
		return astra_addon_filesystem()->get_filesystem()->put_contents( $file_path, $style_data );
	}

Changelog

Changelog
Version Description
2.6.4 Introduced.


User Contributed Notes

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