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 ); }
Expand full source code Collapse full source code View on Trac
Changelog
Version | Description |
---|---|
2.6.4 | Introduced. |