Settings_Util
Utility functions for WooCommerce settings.
Tags
Table of Contents
- bool_to_checkbox_setting() : mixed
- checkbox_setting_to_bool() : mixed
- get_checkbox_option() : mixed
- get_custom_attributes() : mixed
Methods
bool_to_checkbox_setting()
    public
            static    bool_to_checkbox_setting(mixed $bool) : mixed
        
        Parameters
- $bool : mixed
Return values
mixed —checkbox_setting_to_bool()
    public
            static    checkbox_setting_to_bool(mixed $value) : mixed
        
        Parameters
- $value : mixed
Return values
mixed —get_checkbox_option()
    public
            static    get_checkbox_option(mixed $option[, mixed $default = false ]) : mixed
        
        Parameters
- $option : mixed
- $default : mixed = false
Return values
mixed —get_custom_attributes()
    public
            static    get_custom_attributes(mixed $field) : mixed
        
        Parameters
- $field : mixed