Created
March 30, 2026 13:17
-
-
Save xlplugins/a1d285d4673ef3a100fd428195dc9ce9 to your computer and use it in GitHub Desktop.
Run custom script just after start of body tag on all funnel and site pages.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add_action( 'wp_body_open', 'load_custom_js_below_body' ); | |
| function load_custom_js_below_body() { | |
| ?> | |
| <script> | |
| console.log('Script loaded just below body tag'); | |
| </script> | |
| <?php | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment