Advertisement
fauzanjeg

Add Custom Script to End of Body Tag

Oct 13th, 2021
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. /* Add Custom Script to End of Body Tag */
  2. function add_custom_script_to_end_of_body() {
  3.     ?>
  4.     <script>console.log('Place Your Script Here..')</script>
  5.     <?php
  6. }
  7. add_action( 'wp_footer', 'add_custom_script_to_end_of_body', 99 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement