\AC_Addon_MLA_Editing_Strategy

Class Admin Columns Addon MLA (Media Library Assistant) Editing Strategy supports the Admin Columns plugin

Summary

Methods
Properties
Constants
get_rows()
user_has_write_permission()
update()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

get_rows()

get_rows() : array

Get the available items on the current page for passing them to JS

Returns

array —

Items on the current page ([entry_id] => (array) [entry_data])

user_has_write_permission()

user_has_write_permission(integer  $post_id) : boolean

See if the user has write permission for a post/object

Parameters

integer $post_id

Object ID

Returns

boolean —

$post->ID when user can edit object else false.

update()

update(  $id, array  $args) 

Updates column content from inline editing

Parameters

$id
array $args