WP_Filesystem_ftpsockets::size

Advertisement

Summery Summery

Gets the file size (in bytes).

Syntax Syntax

WP_Filesystem_ftpsockets::size( string $file )

Parameters Parameters

$file

(string) (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

This site uses Akismet to reduce spam. Learn how your comment data is processed.