WP_Filesystem_Direct::size

Advertisement

Summery Summery

Gets the file size (in bytes).

Syntax Syntax

WP_Filesystem_Direct::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-direct.php

	}

	/**

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply