Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 1.43 KB

README.md

File metadata and controls

23 lines (19 loc) · 1.43 KB

WP WebDAV

Makes the media files of a WordPress instance available via WebDAV.

Endpoint

After installing the files are available via /wp-webdav.

Available filters

Name Parameters Default value Description
wp_webdav_create_node WP_WebDAV\Node false Handles if the current user can create a new file or folder.
wp_webdav_rename_node WP_WebDAV\Node false Handles if the current user can rename a file or folder.
wp_webdav_delete_node WP_WebDAV\Node false Handles if the current user can delete a file or folder.
wp_webdav_show_all_folder true Handles if the all folder is visible.
wp_webdav_show_unassigned_folder true Handles if the unassigned folder is visible.
wp_webdav_show_readme_file true Handles if a readme file is visible in the root folder.
wp_webdav_root_folder_name "" Sets the name of the root folder.
wp_webdav_nodes WP_WebDAV\Node[] ... Manipulate list of nodes of the passed folder.

The root folder contains a folder for each defined category, and additional the following:

  • The all folder contains all files indepentend of its assigned category (visible as [all files]).
  • The unassigned folder contains all files without an assigned category (visible as [unassigned]).
  • The readme file (Readme.md) is handy for NextCloud folders.