Make WordPress Core

Opened 23 months ago

Last modified 6 months ago

#36085 new enhancement

Add action hook to get_inline_data()

Reported by: mensmaximus Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: good-first-bug needs-docs has-patch
Focuses: administration Cc:


Working with customs fields in quickedit for custom post types would be much easier if one could add custom data to the get_inline_data() function in /wp-admin/includes/template.php. An action hook like do_action( 'add_inline_data', $post ) right before the closing div would be a great enhancement.

Attachments (2)

36085.1.diff (1.5 KB) - added by NathanAtmoz 6 months ago.
36085.2.diff (601 bytes) - added by NathanAtmoz 6 months ago.

Download all attachments as: .zip

Change History (6)

#1 @fabrisancho
13 months ago

This functionality will be very useful

#2 @johnbillion
6 months ago

  • Focuses administration added
  • Keywords needs-patch good-first-bug needs-docs added
  • Type changed from feature request to enhancement

6 months ago

6 months ago

#3 @NathanAtmoz
6 months ago

First attempt at a patch. Not sure how I messed up the first diff.

#4 @theorboman
6 months ago

  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.