Settings
in package
Utility functions for the product table settings.
Tags
Table of Contents
- OPTION_MISC = 'wcpt_misc_settings'
- OPTION_TABLE_DEFAULTS = 'wcpt_shortcode_defaults'
- OPTION_TABLE_STYLING = 'wcpt_table_styling'
- Option names for our plugin settings (i.e. the option keys used in wp_options).
- SECTION_SLUG = 'product-table'
- The section name within the main WooCommerce Settings.
- add_selected_to_cart_default_text() : mixed
- get_setting_misc() : mixed
- get_setting_table_defaults() : mixed
- get_setting_table_styling() : mixed
- open_links_in_quick_view_pro() : mixed
- to_woocommerce_settings() : mixed
- get_setting() : mixed
- yes_no_to_boolean() : mixed
Constants
OPTION_MISC
public
mixed
OPTION_MISC
= 'wcpt_misc_settings'
OPTION_TABLE_DEFAULTS
public
mixed
OPTION_TABLE_DEFAULTS
= 'wcpt_shortcode_defaults'
OPTION_TABLE_STYLING
Option names for our plugin settings (i.e. the option keys used in wp_options).
public
mixed
OPTION_TABLE_STYLING
= 'wcpt_table_styling'
SECTION_SLUG
The section name within the main WooCommerce Settings.
public
mixed
SECTION_SLUG
= 'product-table'
Methods
add_selected_to_cart_default_text()
public
static add_selected_to_cart_default_text() : mixed
Return values
mixed —get_setting_misc()
public
static get_setting_misc() : mixed
Return values
mixed —get_setting_table_defaults()
public
static get_setting_table_defaults() : mixed
Return values
mixed —get_setting_table_styling()
public
static get_setting_table_styling() : mixed
Return values
mixed —open_links_in_quick_view_pro()
public
static open_links_in_quick_view_pro() : mixed
Return values
mixed —to_woocommerce_settings()
public
static to_woocommerce_settings(mixed $settings) : mixed
Parameters
- $settings : mixed
Return values
mixed —get_setting()
private
static get_setting(mixed $option_name[, mixed $default = [] ]) : mixed
Parameters
- $option_name : mixed
- $default : mixed = []
Return values
mixed —yes_no_to_boolean()
private
static yes_no_to_boolean(mixed $val) : mixed
Parameters
- $val : mixed