How to add a Font Awesome Kit to your site

I use Font Awesome Pro on a handful of my sites and with the recent changes you need to start using their Kits instead of linking to the CSS. The following function which can be added to either a functions file or to Code Snippets will load Font Awesome Pro on your site. You will simply need to replace the URL to reflect the one you have created in your Font Awesome account.

function custom_load_font_awesome() {
<script src="" crossorigin="anonymous"></script><?php
add_action('wp_head', 'custom_load_font_awesome');