New answers tagged


We can use style_loader_tag filter to filter the link that is being output. Here is the filter: $tag = apply_filters( 'style_loader_tag', "<link rel='$rel' id='$handle-css' $title href='$href' type='text/css' media='$media' />\n", $handle, $href, $media); Here the link $handle for which you want to add attribute is font-awesome so if the handle, so ...

Top 50 recent answers are included