Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#42370 closed enhancement (duplicate)

Introduce new after body action

Reported by: welcher's profile welcher Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords: has-patch dev-feedback
Focuses: template Cc:

Description

I would like to propose a new action called after_body that would be placed after the opening <body> tag.

The need to inject items after the body is quite common with third-party integrations such as Google DFP but having this hook available would also allow any number of custom additions.

Attachments (1)

42370.diff (4.9 KB) - added by welcher 7 years ago.
Adding new hook to all existing themes.

Download all attachments as: .zip

Change History (5)

@welcher
7 years ago

Adding new hook to all existing themes.

#1 @welcher
7 years ago

  • Keywords has-patch dev-feedback added; needs-patch removed

#2 @rinkuyadav999
7 years ago

  • Component changed from Themes to Bundled Theme

#3 @birgire
7 years ago

Related #12563, #21506

Last edited 7 years ago by birgire (previous) (diff)

#4 @SergeyBiryukov
7 years ago

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

Duplicate of #12563.

Note: See TracTickets for help on using tickets.