How to run my script, After Wordpress Elementor scripts fully loaded? How to run my script, After Wordpress Elementor scripts fully loaded? wordpress wordpress

How to run my script, After Wordpress Elementor scripts fully loaded?


Try these hooks in your functions.php themehttps://code.elementor.com/js-hooks/

add_action( 'wp_footer', function() {    if ( ! defined( 'ELEMENTOR_VERSION' ) ) {        return;    }    ?>    <script>        jQuery( function( $ ) {            // jquery example            console.log($('body'));        } );    </script>    <?php} );