WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 4 years ago

#24991 closed feature request (wontfix)

Add 'instantiated_post' hook to WP_Post->_construct()

Reported by: MikeSchinkel Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.6
Component: Posts, Post Types Keywords: has-patch dev-feedback
Focuses: Cc:
PR Number:

Description

Please consider adding an 'instantiated_post' hook to the end of WP_Post->_construct().

Such a hook would allow doing so would allow plugins to add custom fields or child posts to the post object, would allow for instrumentation to aid in debugging.

See #14958 for some background.

Attachments (1)

instantiate_post.diff (543 bytes) - added by MikeSchinkel 6 years ago.
Add 'instantiated_post' hook to WP_Post->_construct()

Download all attachments as: .zip

Change History (4)

@MikeSchinkel
6 years ago

Add 'instantiated_post' hook to WP_Post->_construct()

#1 @MikeSchinkel
6 years ago

  • Cc mike@… added

#2 @DrewAPicture
6 years ago

  • Cc xoodrew@… added

#3 @DrewAPicture
4 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

There has been no interest or activity in two years. Closing as wontfix.

Note: See TracTickets for help on using tickets.