×

Welcome to TagMyCode

Please login or create account to add a snippet.
1
0
 
0
Language: PHP
Posted by: Daniel Mulder
Added: Feb 2, 2016 2:48 PM
Views: 41
Tags: wordpress
Add a meta tag to the HTML HEADER <head></head> tag with action hook wp_head
  1. add_action('wp_head','hook_javascript');
  2. function hook_javascript() {
  3.  
  4.         $output='<meta name="google-site-verification" content="a4IQXnImg0qd9_7FzpPY9rG3ejqqU3FF-5kvbTfX82s" />';
  5.  
  6.         echo $output;
  7. }
  8.