Generates and displays row action links.
Parameters
$item
WP_Postrequired- Attachment being acted upon.
$column_name
stringrequired- Current column name.
$primary
stringrequired- Primary column name.
Source
protected function handle_row_actions( $item, $column_name, $primary ) {
if ( $primary !== $column_name ) {
return '';
}
// Restores the more descriptive, specific name for use within this method.
$post = $item;
$att_title = _draft_or_post_title();
$actions = $this->_get_row_actions( $post, $att_title );
return $this->row_actions( $actions );
}
User Contributed Notes
You must log in before being able to contribute a note or feedback.