public
Created

Stop Skype from hijacking phone numbers

  • Download Gist
skype_toolbar_meta.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
<?php
/**
* Stop Skype from hijacking phone numbers
*
* Adds a META tag to the HTML document head, that
* prevents Skype from hijacking/over-writing phone
* numbers displayed in the Theme.
*
* @link http://www.wpbeginner.com/wp-tutorials/how-to-fix-skype-overwriting-phone-numbers-in-wordpress-themes/ H/T WPBeginner
*/
function mysite_skype_meta() {
?>
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE" />
<?php
}
add_action( 'wp_head', 'mysite_skype_meta' );
?>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.