Main::get_instance()
Main Instance Ensures only one instance of class is loaded or can be loaded.
Return
(HFGMain|null) Instance.
Source
File: header-footer-grid/Main.php
Expand full source code Collapse full source code View on Github
Related
Uses
Uses | Description |
---|---|
header-footer-grid/Core/Css_Generator.php: Css_Generator::__construct() |
Css_Generator constructor. |
header-footer-grid/Core/Customizer.php: Customizer::__construct() |
Customizer constructor. |
Used By
Used By | Description |
---|---|
includes/modules/header_footer_grid/components/advanced_search_icon.php: Advanced_Search_Icon::load_template() |
Load search template |
includes/modules/header_footer_grid/components/advanced_search_form.php: Advanced_Search_Form::load_template() |
Load search template |
includes/modules/header_footer_grid/components/copyright.php: Copyright::render_component() |
Render method for component. |
header-footer-grid/Core/Components/EddCartIcon.php: EddCartIcon::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/Logo.php: Logo::is_component_active() |
Method to check that the component is active. |
header-footer-grid/Core/Components/Abstract_Component.php: Abstract_Component::is_component_active() |
Method to check that the component is active. |
includes/modules/header_footer_grid/components/divider.php: Divider::render_component() |
Render component |
includes/modules/header_footer_grid/components/widget_area.php: Widget_Area::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/PaletteSwitch.php: PaletteSwitch::render_component() |
Render the component |
header-footer-grid/Core/Builder/Header.php: Header::render_row() |
Render builder row. |
header-footer-grid/Core/Builder/Header.php: Header::load_template() |
Method called via hook. |
header-footer-grid/Core/Builder/Footer.php: Footer::render_row() |
Render builder row. |
header-footer-grid/Core/Builder/Footer.php: Footer::load_template() |
Method called via hook. |
header-footer-grid/Core/Components/Abstract_Component.php: Abstract_Component::render() |
Render component markup. |
header-footer-grid/Core/Components/Abstract_FooterWidget.php: Abstract_FooterWidget::render_component() |
The render method. |
header-footer-grid/Core/Components/SecondNav.php: SecondNav::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/SearchResponsive.php: SearchResponsive::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/CartIcon.php: CartIcon::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/Search.php: Search::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/CustomHtml.php: CustomHtml::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/NavFooter.php: NavFooter::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/Button.php: Button::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/Nav.php: Nav::render_component() |
The render method for the component. |
header-footer-grid/Core/Components/MenuIcon.php: MenuIcon::render_component() |
Render method. |
header-footer-grid/Core/Components/Logo.php: Logo::render_component() |
Render logo section. |
header-footer-grid/functions-template.php: get_builder() |
Return registered builders. |
header-footer-grid/Main.php: Main::admin_utils_scripts() |
JS utility scripts for admin |
header-footer-grid/Main.php: hfg() |
Function to return Main instance. |
includes/modules/header_footer_grid/components/nav.php: Nav::render_component() |
The render method for the component. |
includes/modules/header_footer_grid/components/my_account.php: My_Account::render_component() |
Render My Account component |
includes/modules/header_footer_grid/components/wish_list.php: Wish_List::render_component() |
The render method for the component. |
includes/modules/header_footer_grid/components/html_page.php: Html_Page::render_component() |
The render method for the component. |
includes/modules/header_footer_grid/components/yoast_breadcrumbs.php: Yoast_Breadcrumbs::render_component() |
The render method for the component. |
includes/modules/header_footer_grid/components/language_switcher.php: Language_Switcher::render_component() |
The render method for the component. |
includes/modules/header_footer_grid/components/custom_layout.php: Custom_Layout::render_component() |
The render method for the component. |
includes/modules/header_footer_grid/components/social_icons.php: Social_Icons::render_component() |
The render method for the component. |
includes/modules/header_footer_grid/components/contact.php: Contact::render_component() |
The render method for the component. |
includes/modules/header_footer_grid/builder/page_header.php: Page_Header::render_row() |
Render builder row. |
includes/modules/header_footer_grid/builder/page_header.php: Page_Header::load_template() |
Method called via hook. |
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |