WP_Filesystem_Base::mtime

Advertisement

Summery Summery

Gets the file modification time.

Syntax Syntax

WP_Filesystem_Base::mtime( string $file )

Parameters Parameters

$file

(Required) Path to file.

Return Return

(int|false) Unix timestamp representing modification time, false on failure.

Source Source

File: wp-admin/includes/class-wp-filesystem-base.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.5.0 Introduced.

Advertisement

Leave a Reply