WP_Filesystem_Base::exists( string $path ): bool

In this article

Checks if a file or directory exists.

Parameters

$pathstringrequired
Path to file or directory.

Return

bool Whether $path exists or not.

Source

public function exists( $path ) {
	return false;
}

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.