Function Reference: geodir_dummy_folder_exists

Summary

Check if dummy folder exists or not.

Description

Check if dummy folder exists or not , if not then fetch from live url.

Package

GeoDirectory

Return Values

(bool)
  • If dummy folder exists returns true, else false.

Change Log

Since: 1.0.0

Source File

geodir_dummy_folder_exists() is located in geodirectory-functions/general_functions.php [Line: 1774]

Source Code

function geodir_dummy_folder_exists() {
	$path = geodir_plugin_path() . '/geodirectory-admin/dummy/';
	if ( ! is_dir( $path ) ) {
		return false;
	} else {
		return true;
	}

}