WP_Filesystem_SSH2::size

Advertisement

Summery Summery

Gets the file size (in bytes).

Syntax Syntax

WP_Filesystem_SSH2::size( string $file )

Parameters Parameters

$file

(Required) Path to file.

Return Return

(int|false) Size of the file in bytes on success, false on failure.

Source Source

File: wp-admin/includes/class-wp-filesystem-ssh2.php

	 * @param string $file Path to file.
	 * @return int|false Unix timestamp representing last access time, false on failure.
	 */

Advertisement

Changelog Changelog

Changelog
Version Description
2.7.0 Introduced.

Advertisement

Leave a Reply