Flatsome extends Theme_Integration implements Registerable
Flatsome Theme Integration.
Tags
Interfaces, Classes and Traits
- Registerable
Table of Contents
- $template : string
- The name of the current template.
- add_quick_view_script() : void
- Add inline script to reinitialize Flatsome quick-view after products are rendered.
- register() : void
- Register the integration.
- theme_is_enabled() : bool
- Check if the theme is enabled.
Properties
$template
The name of the current template.
public
string
$template
= 'flatsome'
Use wp_get_theme to get it.
Methods
add_quick_view_script()
Add inline script to reinitialize Flatsome quick-view after products are rendered.
public
add_quick_view_script() : void
Return values
void —register()
Register the integration.
public
register() : void
Return values
void —theme_is_enabled()
Check if the theme is enabled.
public
theme_is_enabled() : bool