Snippets: Allow Skype Links In The Theme

function wpex_allow_skype_protocol( $protocols ){
    $protocols[] = 'skype';
    return $protocols;
}
add_filter( 'kses_allowed_protocols' , 'wpex_allow_skype_protocol' );

Snippet Type: PHP

Posted Under: Core

All PHP snippets should be added via a child theme's functions.php file.