how to display “Edit | Quick Edit | Trash | View” in custom WP_List_Table column?
-
01-10-2020 - |
Question
I have removed "Post Title" in admin column, and created a custom column.
Is there any way to the display "Edit | Quick Edit | Trash | View" link?
La solution
Those links are hard-coded to display in the "title" column as part of class-wp-posts-list-table.php. Look at the single_row()
method in that file, specifically the case 'title'
to see how those links are constructed. You can probably re-use the same code in your plugin or theme as long as you comply with the GPL license WordPress uses.
Licencié sous: CC-BY-SA avec attribution
Non affilié à wordpress.stackexchange