Add script after body is open

One of the most common scripts include locations for analytics are inside header and after body is opened. In Scripts Organizer we didn’t wanted to bloat UI with this one as you can add it with simple code snippet.

<?php

function body_open_script() {
    ?>
        <script>
            // Your code gode here
        </script>
    <?php
}
add_action( 'wp_body_open', 'body_open_script' );

?>

Scripts Organizer Settings

Trigger location: Everywhere
Script Location: PHP

Click to Copy