initialize()
initialize() : void
Initialization function, similar to __construct()
Class MLA (Media Library Assistant) Objects defines and manages custom taxonomies for Attachment Categories and Tags
mla_taxonomy_get_columns_filter( $columns) : array
WordPress Filter for edit taxonomy "Attachments" column, which replaces the "Posts" column with an equivalent "Attachments" column.
$columns |
updated column definitions for the edit taxonomy list table
mla_taxonomy_column_filter( $current_value, $column_name, $term_id) : array
WordPress Filter for edit taxonomy "Attachments" column, which returns a count of the attachments assigned a given term
$current_value | ||
$column_name | ||
$term_id |
HTML markup for the column content; number of attachments in the category and alink to retrieve a list of them