Advertisement
arie_cristianD

add script to header

Oct 1st, 2023
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1.  
  2. add_action(
  3.     'wp_head',
  4.     function () {
  5.         echo '<script async src=”https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-xxx&#8221; crossorigin=”anonymous”></script>';
  6.     },
  7.     99
  8. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement