WP_Filesystem_ftpsockets::size

Advertisement

Summery Summery

Gets the file size (in bytes).

Syntax Syntax

WP_Filesystem_ftpsockets::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-ftpsockets.php

	/**
	 * Gets the file modification time.

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply