WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 5 months ago

#35315 new enhancement

New action `manage_posts_before_extra_area`

Reported by: sebastian.pisula Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: has-patch reporter-feedback
Focuses: administration Cc:
PR Number:

Description

I think that should be action before table of posts in edit.php. Why ? Because I want add settings for post type in this section or custom form.

Attachments (3)

35315.patch (750 bytes) - added by sebastian.pisula 4 years ago.
with-div.png (99.8 KB) - added by sebastian.pisula 4 years ago.
preview with div
without-div.png (99.8 KB) - added by sebastian.pisula 4 years ago.
preview without div

Download all attachments as: .zip

Change History (6)

#1 @johnbillion
4 years ago

  • Component changed from General to Posts, Post Types
  • Focuses administration added
  • Keywords has-patch reporter-feedback added

Thanks for the patch, @sebastian.pisula . What's the reason behind the <div> with no attributes?

@sebastian.pisula
4 years ago

preview with div

@sebastian.pisula
4 years ago

preview without div

#2 @sebastian.pisula
4 years ago

I uploaded screen without and with div.

#3 @DrewAPicture
4 years ago

Rather than specifically targeting the posts list table screen, I wonder if we might be better served to fire a more generic hook at the top of WP_List_Table::views() instead. Either way, I think we'd probably want to fire the hook after the admin notices markup.

Note: See TracTickets for help on using tickets.