Uses
Uses | Description |
---|---|
wp-admin/includes/template.php: _draft_or_post_title() | Get the post title. |
wp-admin/includes/class-wp-media-list-table.php: WP_Media_List_Table::_get_row_actions() |
Generates and displays row action links.
(object) (Required) Attachment being acted upon.
(string) (Required) Current column name.
(string) (Required) Primary column name.
(string) Row actions output for media attachments, or an empty string if the current column is not the primary column.
File: wp-admin/includes/class-wp-media-list-table.php
protected function handle_row_actions( $post, $column_name, $primary ) { if ( $primary !== $column_name ) { return ''; } $att_title = _draft_or_post_title(); return $this->row_actions( $this->_get_row_actions( $post, $att_title ) ); }
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_media_list_table/handle_row_actions