WordPress.org

Make WordPress Core

Opened 21 months ago

Last modified 3 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:

Description

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 4 months ago.
36085.2.diff (601 bytes) - added by NathanAtmoz 4 months ago.

Download all attachments as: .zip

Change History (6)

#1 @fabrisancho
10 months ago

This functionality will be very useful

#2 @johnbillion
4 months ago

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

@NathanAtmoz
4 months ago

@NathanAtmoz
4 months ago

#3 @NathanAtmoz
4 months ago

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

#4 @theorboman
3 months ago

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