WP Manifestindependent plugin directory
manifest / media / wp-webdav-media

WP-WebDAV-Media

Adds WebDAV support to WordPress. Build with NextCloud in mind.

★ 6stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/meikatz/wp-webdav-media/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

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.