Redsys_Advanced_Settings
in package
Redsys Advanced Settings.
Table of Contents
Methods
- add_settings_tab() : mixed
- Add a new settings tab to the WooCommerce settings tabs array.
- get_sections() : mixed
- Get sections
- get_settings() : mixed
- Get settings array
- init() : mixed
- Initialize the settings.
- output_sections() : mixed
- Output the sections
- redsys_radio_border() : mixed
- Add radio border pattern
- redsys_radio_frame() : mixed
- Add radio frame pattern
- redsys_radio_mcenter() : mixed
- Add radio mcenter pattern
- redsys_radio_pattern() : mixed
- Add radio pattern
- save_settings() : mixed
- Save settings.
- settings_tab() : mixed
- Uses the WooCommerce admin fields API to output settings via the @see woocommerce_admin_fields() function.
Methods
add_settings_tab()
Add a new settings tab to the WooCommerce settings tabs array.
public
static add_settings_tab(array<string|int, mixed> $settings_tabs) : mixed
Parameters
- $settings_tabs : array<string|int, mixed>
-
Array of WooCommerce setting tabs.
get_sections()
Get sections
public
static get_sections() : mixed
get_settings()
Get settings array
public
static get_settings([string $section = null ]) : mixed
Parameters
- $section : string = null
-
section name.
init()
Initialize the settings.
public
static init() : mixed
output_sections()
Output the sections
public
static output_sections() : mixed
redsys_radio_border()
Add radio border pattern
public
static redsys_radio_border(string $value) : mixed
Parameters
- $value : string
-
performated value.
redsys_radio_frame()
Add radio frame pattern
public
static redsys_radio_frame(string $value) : mixed
Parameters
- $value : string
-
performated value.
redsys_radio_mcenter()
Add radio mcenter pattern
public
static redsys_radio_mcenter(string $value) : mixed
Parameters
- $value : string
-
performated value.
redsys_radio_pattern()
Add radio pattern
public
static redsys_radio_pattern(string $value) : mixed
Parameters
- $value : string
-
performated value.
save_settings()
Save settings.
public
static save_settings() : mixed
settings_tab()
Uses the WooCommerce admin fields API to output settings via the @see woocommerce_admin_fields() function.
public
static settings_tab() : mixed