PHPDoc Real Media Library
  • Namespace
  • Class

Namespaces

  • MatthiasWeb
    • RealMediaLibrary
      • api
  • None

Interfaces

  • IFolder
  • IMetadata
  • IUserSettings

Namespace MatthiasWeb\RealMediaLibrary\api

Interfaces summary

IFolder

This interface provides elementary methods for folder objects. All folder types (Folder, Collection, Gallery, ...) have implemented this interface. Also the root ("Unorganized") is a folder and implements this interface. Usually, the root acts as "-1" but you should use the _wp_rml_root() function to get the root id.

IMetadata

Metadata content of a folder. The metadata can be changed in the arrow-down icon in the folders sidebar toolbar. To handle metadata for folders you can use the add_media_folder_meta() function.

IUserSettings

Metadata content for the general user settings. The metadata can be changed in the cog icon in the folders sidebar toolbar. To handle metadata for general user settings you can use the default wordpress add_user_meta function.

PHPDoc Real Media Library API documentation generated by ApiGen