Class Admin Columns Addon MLA (Media Library Assistant) List Screen supports the Admin Columns plugin
|
package
|
Media Library Assistant
|
|
since
|
2.50
|
Methods
Initializes some properties, installs filters and then
calls the parent constructor to set some default configs.
__construct()
Return the column value
column_default_value(string|null $content, \WP_Post $post, string $column_name) : string|false
Arguments
Response
string|false
Default column headers
get_column_headers() : array
Create and return a new MLA List Table object
get_list_table(array $args = array()) : \WP_List_Table|false
Arguments
Response
\WP_List_Table|false
Return
get_object_by_id(integer $post_id) : object
Arguments
Response
objectattachment object
Add inline editing columns to Media/Assistant submenu table
inline_column_types(\AC_ListScreen $listscreen)
static
Arguments
$listscreen
\AC_ListScreen
Test for current screen = the Media/Assistant submenu screen,
For Admin Columns 2.4.9+
is_current_screen(object $wp_screen) : boolean
Arguments
Response
booleantrue if the Media/Assistant submenu is the current screen
Remove duplicate columns from the Admin Columns "Custom" section
remove_column_types(\AC_ListScreen $listscreen)
static
Arguments
$listscreen
\AC_ListScreen
Remove duplicate columns from the Admin Columns "Custom" section
remove_custom_columns(array $keys, \AC_Settings_Column_CustomField $this_customfield)
static
Arguments
$keys
arrayDistinct meta keys from DB
$this_customfield
\AC_Settings_Column_CustomField
Contains the hook that contains the manage_value callback
set_manage_value_callback()