Payment_Icons
Class Payment_Icons
Source
File: includes/modules/header_footer_grid/components/payment_icons.php
Expand full source code Collapse full source code View on Github
Methods
- add_settings — The customizer settings for this component are added in WooCommerce Booster module.
- add_style — Method to add Component css styles.
- allow_render — Can be rendered? If the requirements met or not.
- init — Payment icons component Constructor
- inline_css_sparks_needed_notice — Add inline style to styling the admin notice about the Sparks is needed.
- is_active — Check if component should be active.
- render_component — Render Payment Icons component.
- render_notice_sparks — Render Sparks is needed notice
- set_sparks_notice_props — Set class props about Sparks notice is needed or not and notice type.
- sparks_notice_style — If Sparks is missing; add inline style for add notice that is shown to admin users.