Submenu
Class Sub_Menu_Style
Source
File: includes/modules/header_footer_grid/submenu/submenu.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Sub_Menu_Style constructor.
- add_subscribers — Add variable values
- filter_additional_menu_class — Add additional class for the menu animation.
- filter_additional_menu_container_class — Filter submenu container classes to add skin mode.
- get_animation_style — Get submenu animation style.
- get_inline_style — Get submenus inline style.
- get_submenu_icon_style — Get submenu icon style.
- get_submenu_style — Get submenu style.
- init — Init function.
- is_style_added — Helper function to check is a piece of style was already added.
- load_scripts — Load submenu scripts.
- should_add_property — Helper function to determin if a property should be added via inline style.
- sm_icon_settings — Implement sumbenu icon settings