Util
Utility functions for WooCommerce Quick View Pro.
Tags
Table of Contents
- absfloat() : mixed
- are_product_details_displayed() : mixed
- are_product_tabs_displayed() : mixed
- build_html_attributes() : mixed
- convert_settings_from_wc_format() : mixed
- convert_settings_to_wc_format() : mixed
- format_rest_error() : mixed
- get_asset_path() : mixed
- get_asset_url() : mixed
- get_elementor_widgets_list() : mixed
- get_gallery_image_html() : string
- Get HTML for a gallery image.
- get_modal_class() : mixed
- get_modal_data_attributes() : mixed
- get_modal_product_class() : mixed
- get_wc_notices() : mixed
- is_elementor_page() : bool
- Check if the current page is built with Elementor
- is_navigation_arrows_displayed() : mixed
- is_product_details_displayed() : mixed
- is_product_image_displayed() : mixed
- is_quick_view_feature_enabled() : mixed
- load_template() : mixed
Methods
absfloat()
    public
            static    absfloat(mixed $val) : mixed
    
        Parameters
- $val : mixed
Tags
Return values
mixed —are_product_details_displayed()
    public
            static    are_product_details_displayed() : mixed
    
    
    
    Tags
Return values
mixed —are_product_tabs_displayed()
    public
            static    are_product_tabs_displayed() : mixed
    
    
    
    Tags
Return values
mixed —build_html_attributes()
    public
            static    build_html_attributes([mixed $atts = [] ]) : mixed
    
        Parameters
- $atts : mixed = []
Tags
Return values
mixed —convert_settings_from_wc_format()
    public
            static    convert_settings_from_wc_format(mixed $settings) : mixed
    
        Parameters
- $settings : mixed
Tags
Return values
mixed —convert_settings_to_wc_format()
    public
            static    convert_settings_to_wc_format(mixed $settings) : mixed
    
        Parameters
- $settings : mixed
Tags
Return values
mixed —format_rest_error()
    public
            static    format_rest_error(mixed $error_message) : mixed
    
        Parameters
- $error_message : mixed
Tags
Return values
mixed —get_asset_path()
    public
            static    get_asset_path([mixed $path = '' ]) : mixed
    
        Parameters
- $path : mixed = ''
Tags
Return values
mixed —get_asset_url()
    public
            static    get_asset_url([mixed $path = '' ]) : mixed
    
        Parameters
- $path : mixed = ''
Tags
Return values
mixed —get_elementor_widgets_list()
    public
            static    get_elementor_widgets_list(mixed $page_id) : mixed
    
        Parameters
- $page_id : mixed
Tags
Return values
mixed —get_gallery_image_html()
Get HTML for a gallery image.
    public
            static    get_gallery_image_html(int $attachment_id) : string
    
        Parameters
- $attachment_id : int
- 
                    Attachment ID. 
Tags
Return values
string —get_modal_class()
    public
            static    get_modal_class(mixed $product[, mixed $class = '' ]) : mixed
    
        Parameters
- $product : mixed
- $class : mixed = ''
Tags
Return values
mixed —get_modal_data_attributes()
    public
            static    get_modal_data_attributes(mixed $product) : mixed
    
        Parameters
- $product : mixed
Tags
Return values
mixed —get_modal_product_class()
    public
            static    get_modal_product_class(mixed $product[, mixed $class = '' ]) : mixed
    
        Parameters
- $product : mixed
- $class : mixed = ''
Tags
Return values
mixed —get_wc_notices()
    public
            static    get_wc_notices(mixed $notice_type) : mixed
    
        Parameters
- $notice_type : mixed
Tags
Return values
mixed —is_elementor_page()
Check if the current page is built with Elementor
    public
            static    is_elementor_page() : bool
    
    
    
    Tags
Return values
bool —is_navigation_arrows_displayed()
    public
            static    is_navigation_arrows_displayed() : mixed
    
    
    
    Tags
Return values
mixed —is_product_details_displayed()
    public
            static    is_product_details_displayed() : mixed
    
    
    
    Tags
Return values
mixed —is_product_image_displayed()
    public
            static    is_product_image_displayed() : mixed
    
    
    
    Tags
Return values
mixed —is_quick_view_feature_enabled()
    public
            static    is_quick_view_feature_enabled() : mixed
    
    
    
    Tags
Return values
mixed —load_template()
    public
            static    load_template(mixed $template_name, mixed $args) : mixed
    
        Parameters
- $template_name : mixed
- $args : mixed