AC_Addon_MLA_ListScreen

Extends \AC_ListScreen_Media

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() 
since 2.50

Return the column value

column_default_value(string|null $content, \WP_Post $post, string $column_name) : string|false

Arguments

$content

string|null

$post

\WP_Post

$column_name

string

Response

string|false

Default column headers

get_column_headers() : array
since 2.50

Response

array

Create and return a new MLA List Table object

get_list_table(array $args = array()) : \WP_List_Table|false

Arguments

$args

array

Response

\WP_List_Table|false

Return

get_object_by_id(integer $post_id) : object
since 2.52

Arguments

$post_id

integer

Response

object

attachment object

Add inline editing columns to Media/Assistant submenu table

inline_column_types(\AC_ListScreen $listscreen) 
static
since 2.52

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
since 2.23

Arguments

$wp_screen

object

Response

boolean

true 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
since 2.50

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
since 2.52

Arguments

$keys

array

Distinct meta keys from DB

$this_customfield

\AC_Settings_Column_CustomField

Contains the hook that contains the manage_value callback

set_manage_value_callback() 
since 2.50