generator-chisel
generator-chisel copied to clipboard
Add missing wp_body_open
Our base.twig template is missing a function that triggers wp_body_open hook that was introduced in version 5.2 of WordPress.
Here's a snippet that I use in my current project:
....
<body class="{{ body_class }}">
{{ fn('wp_body_open') }}