Module
Class Module
Source
File: includes/modules/typekit_fonts/module.php
Expand full source code Collapse full source code View on Github
Methods
- add_rel_preload — Add onload, rel and as for typekit script.
- add_typekit_fonts — List of Typekit fonts.
- define_module_properties — Define module properties.
- enqueue_typekit_fonts — Enqueues a Typekit Font.
- reset_font — Reset fonts to default if module is disabled.
- run_module — Run Header Footer Grid Module
- sanitize_loading_method — Sanitize the loading method input.
- sanitize_typekit_fonts — Make sure that typekit data is correct when it comes through rest update from the dashboard.
- should_load — Check if module should load.