Abstract_Component
Class Abstract_Component
Source
File: header-footer-grid/Core/Components/Abstract_Component.php
Expand full source code Collapse full source code View on Github
Methods
- __construct — Abstract_Component constructor.
- add_horizontal_alignment_control — Add horizontal alignment to component.
- add_legacy_style — Add legacy style.
- add_style — Method to add Component css styles.
- add_typography_controls — Add typography controls.
- add_vertical_alignment_control — Add verical alignment control.
- assign_builder — Assign component to builder.
- customize_register — Called to register component controls.
- define_settings — Define global settings.
- get_builder_id — Get builder where component can be used.
- get_class_const — Allow for constant changes in pro.
- get_default_for_responsive_from_intval — Get the item height default.
- get_id — Utility method to return the component ID.
- get_property — Method to get protected properties for class.
- get_section_id — Get the section id.
- get_settings — Return the settings for the component.
- is_active — Method to filter component loading if needed.
- is_component_active — Method to check that the component is active.
- is_from_theme — Is from theme
- maybe_enqueue_fonts — Maybe enqueue google fonts.
- render — Render component markup.
- render_css — Render CSS code for component.
- sanitize_alignment — Sanitize alignment.
- set_args — Set component arguments.
- set_property — Method to set protected properties for class.