• Resolved jaclerigo

    (@jaclerigo)


    Hello,

    can’t make a simple code to work in admin area, but it works fine at the site front-end.

    <?php
    add_action( 'wp_head', function () { ?>
    <script>
    	alert('this is a test');
    </script>
    <?php });

    Can anyone help me on this?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Code Snippet not working on Administration Area’ is closed to new replies.