Front_End
Front end handler class.
Source
File: inc/core/front_end.php
Expand full source code Collapse full source code View on Github
Methods
- add_amp_support — Add AMP support
- add_gutenberg_templates — Add new Gutenberg templates on Otter plugin.
- add_inline_styles — Enqueue inline styles for core components.
- add_scripts — Enqueue scripts.
- add_styles — Enqueue styles.
- add_woo_support — Add WooCommerce support
- enqueue_scripts — Enqueue scripts and styles.
- filter_script_loader_tag — Adds async/defer attributes to enqueued / registered scripts.
- get_gutenberg_color_palette — Gutenberg Block Color Palettes.
- get_strings — Get strings.
- nav_walker — Tweak menu walker to support selective refresh.
- register_sidebars — Register widgets for the theme.
- setup_theme — Theme setup.
- should_load_comments_reply — Dequeue comments-reply script if comments are closed.
- wrap_jetpack_oembeds — Wrap Jetpack embeds.
- wrap_oembeds — Wrap embeds.