Browse: Home / Classes / Learndash_Admin_Import_Export_File_Handler /

Learndash_Admin_Import_Export_File_Handler::add_index_file

Learndash_Admin_Import_Export_File_Handler::add_index_file( string $path )

Add the index.php file to prevent directory listing.


Description #


Parameters #

$path

(string) (Required) Directory path.


Source #

File: includes/admin/classes-import-export/common/class-learndash-admin-import-export-file-handler.php


Changelog #

Changelog
Version Description
4.3.0 Introduced.