WP_Filesystem_FTPext::size

Advertisement

Summery Summery

Gets the file size (in bytes).

Syntax Syntax

WP_Filesystem_FTPext::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-ftpext.php

	/**
	 * Gets the file modification time.

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply