Skip to content

Instantly share code, notes, and snippets.

@PiotrKrzyzek
Created December 28, 2019 17:52
Show Gist options
  • Save PiotrKrzyzek/ecf511493bbdbc1608d97741d0d90a57 to your computer and use it in GitHub Desktop.
Save PiotrKrzyzek/ecf511493bbdbc1608d97741d0d90a57 to your computer and use it in GitHub Desktop.
Add custom meta properties to the WP headers
function add_meta_tags() {
echo '<meta name="meta_name" content="meta_value" />';
}
add_action('wp_head', 'add_meta_tags');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment