0

How can I customize output of tables of records in wp-admin/edit.php? What options are available for editing display_tablenav('top') and display_tablenav('bottom') before outputting in class WP_Posts_List_Table?

I would like to insert my block between the table where records are displayed and the filters, for example: <h3>Titlle</h3>. No matter what. The Codex is written:

This class's access is marked as private. That means it is not intended for use by plugin and theme developers, but only by other core functions and classes.

Maybe there is some way that does not change the kernel.

  • 2
    Could you be more specific on what exactly do you wish to achieve? – Laniakea Aug 23 '13 at 11:28
  • I would like to insert my block between the table where records are displayed and the filters – Vitaliy Kukin Aug 23 '13 at 14:20
  • And what kind of a block? – Laniakea Aug 23 '13 at 15:01
  • Any block. For example: <h3>Titlle</h3>. No matter what. The codex is written: "This class's access is marked as private. That means it is not intended for use by plugin and theme developers, but only by other core functions and classes." Maybe there is some way that does not change the kernel – Vitaliy Kukin Aug 23 '13 at 15:25
0

Whenever you find apply_filters() or do_action in the core files, you'll have an entry point.

If not, jQuery is never enough. And case it's not enough, some heavy trickery is always available.

| improve this answer | |
0

How can I customize output of tables of records in wp-admin/edit.php?

You can't. @brasofilo explained you why in his answer.

A workaround:

  1. Remove the standard edit link from admin menu, using remove_menu_page / remove_submenu_page
  2. Add your own menu element, that will include customized file
  3. For that customized file, copy the most part from core and just edit what you want.
| improve this answer | |

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.