PHPDoc Real Media Library
  • Namespace
  • Function

Namespaces

  • MatthiasWeb
    • RealMediaLibrary
      • api
  • None

Functions

  • _wp_rml_active
  • _wp_rml_root
  • _wp_rml_sanitize
  • add_media_folder_meta
  • add_rml_meta_box
  • add_rml_user_settings_box
  • delete_media_folder_meta
  • delete_media_folder_meta_by_key
  • get_media_folder_meta
  • is_rml_folder
  • truncate_media_folder_meta
  • update_media_folder_meta
  • wp_attachment_ensure_source_file
  • wp_attachment_folder
  • wp_attachment_get_shortcuts
  • wp_attachment_has_shortcuts
  • wp_attachment_is_shortcut
  • wp_attachment_order_update
  • wp_rml_create
  • wp_rml_create_or_return_existing_id
  • wp_rml_create_shortcuts
  • wp_rml_created_shortcuts_last_ids
  • wp_rml_delete
  • wp_rml_dropdown
  • wp_rml_dropdown_collection
  • wp_rml_dropdown_gallery
  • wp_rml_dropdown_gallery_or_collection
  • wp_rml_get_attachments
  • wp_rml_get_by_absolute_path
  • wp_rml_get_by_id
  • wp_rml_get_object_by_id
  • wp_rml_get_parent_id
  • wp_rml_is_type
  • wp_rml_move
  • wp_rml_objects
  • wp_rml_register_creatable
  • wp_rml_rename
  • wp_rml_root_childs
  • wp_rml_select_tree
  • wp_rml_structure_reset
  • wp_rml_update_count

Function wp_rml_move

Move or create shortcuts of a set of attachments to a specific folder.

If you copy attachments, the action called is also "RML/Item/Move"... but there is a paramter $isShortcut.

Located at attachment.php

Parameters summary

integer $to Folder ID
int[] $ids Array of attachment ids
boolean $supress_validation = false Supress the permission validation
boolean $isShortcut = false Determines, if the ID's are copies

Return value summary

boolean|string[] True or Array with errors
PHPDoc Real Media Library API documentation generated by ApiGen