Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add new 'wp_body_open' hook #14
Starting from WordPress 5.2 a new function is added – wp_body_open() – that is used to trigger a wp_body_open action. The intention of this action is to allow people to add things – like a <script> tag – directly inside the body of a page.
Themes should start adding this hook to their themes as soon as 5.2 releases. The function should be placed inside of the tag immediately after it is opened.