2

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?

3

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.

  • Do it work at Custom post? In other words, can i use this method in custom post? – Ehsan Mar 2 '15 at 5:56
  • You'll have to past the code in where you're rendering your custom column, and you'll definitely have to tweak it to use your custom post type. But unfortunately this is one of those times when the WordPress admin code is old, complicated, and not built to be re-used. :( – Dave Ross Mar 2 '15 at 17:04
  • tanks my friend :) – Ehsan Mar 3 '15 at 5:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.