patt / epa-media-view
EPA Media PATT Extension
Installs: 1 009
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:wordpress-plugin
Requires
- php: >=5.3.2
- composer/installers: v1.9.0
This package is auto-updated.
Last update: 2024-11-17 18:53:51 UTC
README
EPA Media View plugin is used to have a folder view in media gallery
Installation
- Upload the
epa-media-view
folder to the/wp-content/plugins/
directory - Activate the plugin through the 'Plugins' menu in WordPress
Instructions
To display your custom folder generated via code in folder view use the filter "media_folder_list".
"media_folder_list" filter receives a multi dimentional array as parameter. Example:
array( array( 'name' => 'Folder Name' ) );
Link the uploaded attachment to the folder by saving folder name in the post meta of the attached with meta key "folder" Note: Use the same folder name in meta key as passed in "media_folder_list" filter.