Module::add_rel_preload( string $html, string $handle )
Add onload, rel and as for typekit script.
Description
https://joshuatz.com/posts/2019/wordpress-script-and-style-tags-adding-defer-async-and-lazy-load/
Parameters
- $html
-
(Required) Current html code.
- $handle
-
(Required) Current script handle.
Return
(string)
Source
File: includes/modules/typekit_fonts/module.php
Expand full source code Collapse full source code View on Github