You can use the wp_head
action hook to output HTML in the <head>
element of the webpage:
function function_name() {
echo '<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="somedigits" crossorigin="anonymous">';
}
add_action( 'wp_head', 'function_name' );