Functions
WordPress Filter for Attachment Category "Attachments" column,
which returns a count of the attachments assigned a given category
mla_attachment_category_column_filter(string $place_holder, array $column_name, array $term_id) : array
Parameters
$place_holder
string
unknown, undocumented parameter.
$column_name
array
name of the column.
$term_id
array
ID of the term for which the count is desired.
Returns
array
HTML markup for the column content; number of attachments in the category and alink to retrieve a list of them.
WordPress Filter for Attachment Category "Attachments" column,
which replaces the "Posts" column with an equivalent "Attachments" column.
mla_attachment_category_get_columns_filter(array $columns) : array
Parameters
$columns
array
column definitions for the Attachment Category list table.
Returns
array
updated column definitions for the Attachment Category list table.
WordPress Shortcode; renders a complete list of all attachments and references to them
mla_attachment_list_shortcode() : string
Returns
string
HTML markup for the attachment list
WordPress Filter for Attachment Tag "Attachments" column,
which returns a count of the attachments assigned a given tag
mla_attachment_tag_column_filter(string $place_holder, array $column_name, array $term_id) : array
Parameters
$place_holder
string
unknown, undocumented parameter
$column_name
array
name of the column
$term_id
array
ID of the term for which the count is desired
Returns
array
HTML markup for the column content; number of attachments with the tag and alink to retrieve a list of them.
WordPress Filter for Attachment Tag "Attachments" column,
which replaces the "Posts" column with an equivalent "Attachments" column.
mla_attachment_tag_get_columns_filter(array $columns) : array
Parameters
$columns
array
column definitions for the Attachment Category list table.
Returns
array
updated column definitions for the Attachment Category list table.
WordPress Action; registers Attachment Categories and Attachment Tags custom taxonomies
mla_build_taxonomies_action()
Classes and interfaces
MLA¶
Class MLA (Media Library Assistant) provides several enhancements to the handling
of images and files held in the WordPress Media Library.
« More »
MLAData¶
Class MLA (Media Library Assistant) Data provides database and template file access for MLA needs.
« More »
MLASettings¶
Class MLA (Media Library Assistant) Settings manages the plugin option settings
and provides the settings page to edit them.
« More »
MLATest¶
Class MLA (Media Library Assistant) Test provides basic run-time tests
to ensure the plugin can run in the current WordPress envrionment.
« More »
MLA_List_Table¶
Class MLA (Media Library Assistant) List Table extends the core WP_List_Table class
« More »
Constants
Gives a unique prefix for plugin options; can be set in wp-config.php
MLA_OPTION_PREFIX
Provides path information to the plugin root in file system format.
MLA_PLUGIN_PATH
Provides path information to the plugin root in URL format.
MLA_PLUGIN_URL