Skip to content

Instantly share code, notes, and snippets.

@domantasg
Created July 10, 2017 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save domantasg/52df94eaefe160ccb3b66ef38616b6c9 to your computer and use it in GitHub Desktop.
Save domantasg/52df94eaefe160ccb3b66ef38616b6c9 to your computer and use it in GitHub Desktop.
// Hook the 'init' action, which is called after WordPress is finished loading the core code, add the function 'remove_My_Meta_Tags'
add_action( 'init', 'remove_My_Meta_Tags' );
// Remove the 'add_My_Meta_Tags' function from the wp_head action hook
function remove_My_Meta_Tags()
{
remove_action( 'wp_head', 'add_My_Meta_Tags');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment