Module
Class Module
Source
File: includes/modules/header_footer_grid/module.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Constructor
- add_customizer_modules — Hooks into customizer loader and adds additional modules to load.
- add_module_settings — Add the module settings.
- add_module_template_location — Add module templates location
- add_page_header_defaults — Add page header to default HFG schema.
- add_to_theme_support — Append to the theme support builders.
- after_builder_registered — Alter WP_Customize_Manager object.
- define_module_properties — Define module properties.
- enqueue — Enqueue scripts and styles.
- flag_for_enqueue — Flag script for enqueue.
- get_public_taxonomies — Return registered public taxonomies
- get_taxonomy_featured — Get the current featured image for the taxonomy.
- init_taxonomy_image — Init the Taxonomy_Featured_Image instance This class registers and handles the featured image meta attribute for the allowed taxonomies.
- maybe_dequeue — Maybe dequeue script if needed.
- migrate_rows_skin_mode — Skins migration for conditional headers.
- register_additional_nav_menus — Add additional navigation locations.
- replace_theme_mods — Replace theme mods with the ones from the available headers.
- run_module — Run Header Footer Grid Module
- set_featured_image — Set the current featured image for archive pages.
- should_load — Check if module should load.
- should_use_featured_image_url — Returns the featured image if the toggle option is enabled.